qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] temp-floating-point: Use float32_to_t and t_to_


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] temp-floating-point: Use float32_to_t and t_to_float32 for the input register value
Date: Mon, 5 Oct 2015 12:59:19 +0100

On 5 October 2015 at 12:54, Chen Gang <address@hidden> wrote:
>> On 5 October 2015 at 12:21, Chen Gang <address@hidden> wrote:
>> Why is the helper for a single-precision operation taking a 64-bit
>> argument anyway?
>>
>
> Oh, the register are uint64_t, so I guess the input register value are 
> 64-bit, too.

Usually for single precision the generated code is also working
with 32-bit values. What you have is not necessarily
wrong, but it is odd. I'd have to check the architecture
manual and the translate.c code to be sure.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]