]> git.proxmox.com Git - mirror_qemu.git/commit
softfloat: use floatx80_infinity in softfloat
authorLaurent Vivier <laurent@vivier.eu>
Sat, 24 Feb 2018 20:18:01 +0000 (21:18 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 4 Mar 2018 16:27:35 +0000 (17:27 +0100)
commit0f605c889ca3fe9744166ad4149d0dff6dacb696
treede34c83801495a6c79d7e51db65faa98a7fbe0ce
parent591596b77a1872d0652e666271ca055e57ea1e21
softfloat: use floatx80_infinity in softfloat

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 <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180224201802.911-4-laurent@vivier.eu>
fpu/softfloat-specialize.h
fpu/softfloat.c
include/fpu/softfloat.h