glibc/sysdeps
Joey Ye 7d92b78723 Fix ARM NAN fraction bits.
Current ARM soft-float implementation is violating the RTABI
(http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043d/IHI0043D_rtabi.pdf)
Section 4.1.1.1:

When not otherwise specified by IEEE 754, the result on an invalid
operation should be the quiet NaN bit pattern with only the most
significant bit of the significand set, and all other significand bits
zero.

This patch fixes it by setting _FP_NANFRAC_* to zero.

Ran make check test with -mfloat-abi=soft. No regression.

	* sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
	(_FP_NANFRAC_Q): Set to zero.
2014-02-27 17:44:43 +00:00
..
aarch64 soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
alpha soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
arm Fix ARM NAN fraction bits. 2014-02-27 17:44:43 +00:00
generic BZ #16613: Support TLS in audit libraries. 2014-02-25 13:18:15 -05:00
gnu Combine __USE_BSD and __USE_SVID into __USE_MISC. 2014-02-12 23:41:01 +00:00
i386 Move tests of clog10 from libm-test.inc to auto-libm-test-in. 2014-02-19 14:26:29 +00:00
ia64 ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
ieee754 Fix sign of input to bsloww1 (BZ #16623) 2014-02-27 21:12:09 +05:30
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
mach Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
microblaze [MicroBlaze]: Move MicroBlaze from ports to sysdeps. 2014-02-17 11:08:21 +10:00
mips Add macros and inline functions to mips math_private.h file. 2014-02-26 14:19:20 -08:00
posix Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
powerpc PowerPC: Update powerpc-fpu ULPs. 2014-02-26 06:54:34 -06:00
pthread Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
s390 S/390: Regenerate ULPs. 2014-02-25 09:38:00 +01:00
sh soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
sparc Allow sys/auxv.h to be used from the testsuite on powerpc and sparc. 2014-02-21 00:24:03 -07:00
tile soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
unix Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
wordsize-32 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Generate .test-result files for tests with special rules. 2014-02-21 21:48:08 +00:00
x86_64 Fix sign of input to bsloww1 (BZ #16623) 2014-02-27 21:12:09 +05:30