about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-09 22:56:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-09 22:56:35 +0000
commit31958338998aba1cca8090839a4c4866366d76cf (patch)
tree92472b81026df172cfa0d53fcda0e2add61112b6 /ChangeLog
parent8e554659ad7722ff1d09c6fa68d7df8e75530dc8 (diff)
downloadglibc-31958338998aba1cca8090839a4c4866366d76cf.tar.gz
glibc-31958338998aba1cca8090839a4c4866366d76cf.tar.xz
glibc-31958338998aba1cca8090839a4c4866366d76cf.zip
Handle narrowing function sNaN test disabling based on argument format.
Testing narrowing functions for x86_64 with GCC 6 showed up a further
testsuite fix needed: there is no _Float128 sNaN support before GCC 7
on x86_64 / x86, and the existing tests of SNAN_TESTS only checked it
for the return type, not for the argument type.  This patch fixes the
code to check SNAN_TESTS (ARG_FLOAT) as well (in a variable set in
libm-test-driver.c, since libm-test-support.c is compiled only once
for each choice of FLOAT).

Tested for x86_64 and x86 with GCC 6 in conjunction with the main
patch adding narrowing add functions.

	* math/libm-test-driver.c (snan_tests_arg): New variable.
	* math/libm-test-support.h (snan_tests_arg): New declaration.
	* math/libm-test-support.c (enable_test): Check snan_tests_arg.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fe83a6b7f..2063f7399b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2018-02-09  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/libm-test-driver.c (snan_tests_arg): New variable.
+	* math/libm-test-support.h (snan_tests_arg): New declaration.
+	* math/libm-test-support.c (enable_test): Check snan_tests_arg.
+
 	* math/Makefile (test-type-pairs): New variable.
 	(test-type-pairs-f64xf128-yes): Likewise.
 	(tests): Add test-narrow-macros.