]> git.proxmox.com Git - mirror_qemu.git/commit
fpu/softfloat: Define floatN_silence_nan in terms of parts_silence_nan
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 14 May 2018 21:26:38 +0000 (14:26 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 17 May 2018 22:27:15 +0000 (15:27 -0700)
commit377ed92679a2a5f838bc0a095112ea5020720fff
treebf3dd54fc5889c18044e3313e5b468335274d426
parent8fb3d90203f328d1bebcf7f20934027bfc4e7f3f
fpu/softfloat: Define floatN_silence_nan in terms of parts_silence_nan

Isolate the target-specific choice to 3 functions instead of 6.

The code in floatx80_default_nan tried to be over-general.  There are
only two targets that support this format: x86 and m68k.  Thus there
is no point in inventing a mechanism for snan_bit_is_one.

Move routines that no longer have ifdefs out of softfloat-specialize.h.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat-specialize.h
fpu/softfloat.c