qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 3/4] softfloat: use floatx80_infinity in soft


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 3/4] softfloat: use floatx80_infinity in softfloat
Date: Sat, 24 Feb 2018 15:24:59 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 02/24/2018 12:18 PM, Laurent Vivier wrote:
> Since f3218a8 ("softfloat: add floatx80 constants")
> floatx80_infinity is defined but never used.
> 
> This patch updates floatx80 functions to use
> this definition.
> 
> This allows to define a different default Infinity
> value on m68k: the m68k FPU defines infinity with
> all bits set to zero in the mantissa.
> 
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> CC: Aurelien Jarno <address@hidden>
>     v4: fix floatx80_to_int64() to check for NaN, not for infinity
>         fix floatx80_is_infinity() to ignore mantissa's MSB
> 
>  fpu/softfloat-specialize.h | 14 ++++++++++++++
>  fpu/softfloat.c            | 39 +++++++++++++++++++++++++--------------
>  include/fpu/softfloat.h    | 13 +++++++++++--
>  3 files changed, 50 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

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