about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-07 00:43:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-07 00:43:08 +0000
commite88c14d009de6f6899ec70688c93a9118f0262be (patch)
tree44c5a06cb64644102b2c0e53b9491150d1166ab1
parentb75bc69cdfe5247b2156ce249518f1c1df4d797d (diff)
downloadglibc-e88c14d009de6f6899ec70688c93a9118f0262be.tar.gz
glibc-e88c14d009de6f6899ec70688c93a9118f0262be.tar.xz
glibc-e88c14d009de6f6899ec70688c93a9118f0262be.zip
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--ChangeLog4
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c1
-rw-r--r--sysdeps/mips/mips64/Implies1
3 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8df2817cdc..6dfe82554a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 67d77d5732..53a8f11fb8 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 826ff1541f..b476b8b298 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