glibc/sysdeps
Joseph Myers f39cd196c6 Correct MIPS math-tests.h condition for sNaN payload preservation.
Testing for MIPS soft float shows that the issue with NaN payload
preservation applies to soft float as well as hard float: the
sfp-machine.h emulates hardware non-preservation semantics, although
only for the case of two NaN arguments.

This patch duly changes the MIPS math-tests.h to expect such
non-preservation for soft float as well as hard float.  The issue in
the NAN2008 case for which I posted
<https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00034.html>, of sNaN
payloads being preserved but qNaN payloads not being preserved, is not
currently an issue for glibc tests because we don't have any tests
that check for qNaN payloads being preserved by arithmetic, so a
simple __mips_nan2008 conditional suffices without needing compiler
version checks in the __mips_nan2008 case.

Tested for mips64 soft float.

	* sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
	condition on [__mips_hard_float].
2017-01-02 20:28:36 +00:00
..
aarch64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
alpha Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
arm Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
generic Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gnu Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
hppa Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
i386 Fix i686 memchr for large input sizes 2017-01-02 17:52:51 -02:00
ia64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ieee754 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mach Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
microblaze Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mips Correct MIPS math-tests.h condition for sNaN payload preservation. 2017-01-02 20:28:36 +00:00
nacl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nios2 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nptl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
posix Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
powerpc Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s390 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sh Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sparc Fix pthread_cond_t on sparc for new condvar. 2017-01-02 15:39:14 +01:00
tile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
unix Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
x86_64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00