diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2013-05-16 23:33:55 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2013-05-16 23:33:55 +0100 |
commit | 2848b105856e49d98f3c5026b6d8d790f9723c0c (patch) | |
tree | 66e6cc9d3c1c6d95324e50ceb1140d0eed52ec37 /ports/sysdeps/alpha/soft-fp | |
parent | c58b274f01658400ba75886b04cb044ba9467a94 (diff) | |
download | glibc-2848b105856e49d98f3c5026b6d8d790f9723c0c.tar.gz glibc-2848b105856e49d98f3c5026b6d8d790f9723c0c.tar.xz glibc-2848b105856e49d98f3c5026b6d8d790f9723c0c.zip |
MIPS: soft-fp NaN representation corrections
[BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
Diffstat (limited to 'ports/sysdeps/alpha/soft-fp')
-rw-r--r-- | ports/sysdeps/alpha/soft-fp/sfp-machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/sysdeps/alpha/soft-fp/sfp-machine.h b/ports/sysdeps/alpha/soft-fp/sfp-machine.h index 343464c3a8..be266feccc 100644 --- a/ports/sysdeps/alpha/soft-fp/sfp-machine.h +++ b/ports/sysdeps/alpha/soft-fp/sfp-machine.h @@ -46,6 +46,7 @@ #define _FP_NANSIGN_Q 0 #define _FP_KEEPNANFRACP 1 +#define _FP_QNANNEGATEDP 0 /* Alpha Architecture Handbook, 4.7.10.4 sez that we should prefer any type of NaN in Fb, then Fa. */ |