unicorn/qemu/fpu
Peter Maydell eaf3805f36
softfloat: Revert and reimplement remaining parts of b645bb4885 and 5a6932d51d
Revert the parts of commits b645bb4885 and 5a6932d51d which are still
in the codebase and under a SoftFloat-2b license.

Reimplement support for architectures where the most significant bit
in the mantissa is 1 for a signaling NaN rather than a quiet NaN,
by adding handling for SNAN_BIT_IS_ONE being set to the functions
which test values for NaN-ness.

This includes restoring the bugfixes lost in the reversion where
some of the float*_is_quiet_nan() functions were returning true
for both signaling and quiet NaNs.

[This is a mechanical squashing together of two separate "revert"
and "reimplement" patches.]

Backports commit 332d5849708d11b835e0b36f4e26e8b36bfb3f5a from qemu
2018-02-12 12:57:15 -05:00
..
softfloat-macros.h softfloat: Apply patch corresponding to rebasing to softfloat-2a 2018-02-12 12:49:49 -05:00
softfloat-specialize.h softfloat: Revert and reimplement remaining parts of b645bb4885 and 5a6932d51d 2018-02-12 12:57:15 -05:00
softfloat.c softfloat: Revert and reimplement remaining portions of 75d62a5856 and 3430b0be36f 2018-02-12 12:52:32 -05:00