diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-07 00:43:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-07 00:43:08 +0000 |
commit | e88c14d009de6f6899ec70688c93a9118f0262be (patch) | |
tree | 44c5a06cb64644102b2c0e53b9491150d1166ab1 | |
parent | b75bc69cdfe5247b2156ce249518f1c1df4d797d (diff) | |
download | glibc-e88c14d009de6f6899ec70688c93a9118f0262be.zip glibc-e88c14d009de6f6899ec70688c93a9118f0262be.tar.gz glibc-e88c14d009de6f6899ec70688c93a9118f0262be.tar.bz2 |
Use dbl-64/wordsize-64 for MIPS64.
This patch enables use of sysdeps/ieee754/dbl-64/wordsize-64 for
MIPS64 (both n64 and n32), removing a #error in one case now that case
has been tested and found to work.
Tested for mips64 (n64 and n32).
* sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
* sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
(__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c | 1 | ||||
-rw-r--r-- | sysdeps/mips/mips64/Implies | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2015-10-07 Joseph Myers <joseph@codesourcery.com> + * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c + (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error. + [BZ #19079] * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous file, conditioned on [!_LP64]. diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c index 67d77d5..53a8f11 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c @@ -25,7 +25,6 @@ __issignaling (double x) u_int64_t xi; EXTRACT_WORDS64 (xi, x); #ifdef HIGH_ORDER_BIT_IS_SET_FOR_SNAN -# error untested /* We only have to care about the high-order bit of x's significand, because having it set (sNaN) already makes the significand different from that used to designate infinity. */ diff --git a/sysdeps/mips/mips64/Implies b/sysdeps/mips/mips64/Implies index 826ff15..b476b8b 100644 --- a/sysdeps/mips/mips64/Implies +++ b/sysdeps/mips/mips64/Implies @@ -1,4 +1,5 @@ # MIPS uses IEEE 754 floating point. mips/ieee754 ieee754/flt-32 +ieee754/dbl-64/wordsize-64 ieee754/dbl-64 |