This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.24-596-gf39cd19
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 2 Jan 2017 20:29:02 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-596-gf39cd19
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f39cd196c63fe3fe7a93168aa1c1e4e65b2fb2e3 (commit)
from 23d27709a423aec32821e9a5198a10267107bae2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f39cd196c63fe3fe7a93168aa1c1e4e65b2fb2e3
commit f39cd196c63fe3fe7a93168aa1c1e4e65b2fb2e3
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jan 2 20:28:36 2017 +0000
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].
diff --git a/ChangeLog b/ChangeLog
index d321a89..e6b850c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-02 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
+ condition on [__mips_hard_float].
+
2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #21014]
diff --git a/sysdeps/mips/math-tests.h b/sysdeps/mips/math-tests.h
index caa2b4f..7680db2 100644
--- a/sysdeps/mips/math-tests.h
+++ b/sysdeps/mips/math-tests.h
@@ -37,7 +37,7 @@
/* NaN payload preservation when converting a signaling NaN to quiet
is only required in NAN2008 mode. */
-#if defined __mips_hard_float && !defined __mips_nan2008
+#ifndef __mips_nan2008
# define SNAN_TESTS_PRESERVE_PAYLOAD 0
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/mips/math-tests.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources