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: Chen Gang
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 20:19:13 +0800

> From: address@hidden
> 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.
>

OK, thanks. Originally, I referenced alpha and s390x for it.

--
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
                                          

reply via email to

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