about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/mips/math-tests.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d321a89a37..e6b850ce69 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 caa2b4f949..7680db21ee 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