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.
This commit is contained in:
Joseph Myers 2015-10-07 00:43:08 +00:00
parent b75bc69cdf
commit e88c14d009
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2015-10-07 Joseph Myers <joseph@codesourcery.com> 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] [BZ #19079]
* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
file, conditioned on [!_LP64]. file, conditioned on [!_LP64].

View File

@ -25,7 +25,6 @@ __issignaling (double x)
u_int64_t xi; u_int64_t xi;
EXTRACT_WORDS64 (xi, x); EXTRACT_WORDS64 (xi, x);
#ifdef HIGH_ORDER_BIT_IS_SET_FOR_SNAN #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 /* 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 having it set (sNaN) already makes the significand different from that
used to designate infinity. */ used to designate infinity. */

View File

@ -1,4 +1,5 @@
# MIPS uses IEEE 754 floating point. # MIPS uses IEEE 754 floating point.
mips/ieee754 mips/ieee754
ieee754/flt-32 ieee754/flt-32
ieee754/dbl-64/wordsize-64
ieee754/dbl-64 ieee754/dbl-64