unicorn/qemu/fpu
Joseph Myers c675454b27 softfloat: fix floatx80 pseudo-denormal round to integer
The softfloat function floatx80_round_to_int incorrectly handles the
case of a pseudo-denormal where only the high bit of the significand
is set, ignoring that bit (treating the number as an exact zero)
rather than treating the number as an alternative representation of
+/- 2^-16382 (which may round to +/- 1 depending on the rounding mode)
as hardware does. Fix this check (simplifying the code in the
process).

 Backports commit 9ecaf5ccec13ff2e8fe1e72f6e0f3367d2169c1c from qemu
2020-05-15 23:59:23 -04:00
..
softfloat-specialize.inc.c fpu: rename softfloat-specialize.h -> .inc.c 2019-11-18 21:12:30 -05:00
softfloat.c softfloat: fix floatx80 pseudo-denormal round to integer 2020-05-15 23:59:23 -04:00