summary refs log tree commit diff
path: root/math/test-double-vlen4.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-08-22 15:22:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-08-22 15:22:06 +0000
commitdebc4c9870dcf9f495561d3f7d8afd52878fecf0 (patch)
tree5ff16e11d43ca671d8ddda6b1ea3cc416dfa90b5 /math/test-double-vlen4.h
parent16a25138c13c9d687a9bc2b130e1aea4d26257b7 (diff)
downloadglibc-debc4c9870dcf9f495561d3f7d8afd52878fecf0.tar.gz
glibc-debc4c9870dcf9f495561d3f7d8afd52878fecf0.tar.xz
glibc-debc4c9870dcf9f495561d3f7d8afd52878fecf0.zip
Don't redefine ROUNDING_TESTS_* in math/test-*-vlen*.h.
This patch completes the move of ROUNDING_TESTS_* macros to typo-proof
conventions by stopping redefining them in test-*-vlen*.h.  Instead,
libm-test-driver.c is made to check TEST_MATHVEC when setting
non-to-nearest rounding modes.

Tested for x86_64.

	* math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_double): Remove.
	* math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_double): Remove.
	* math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_double): Remove.
	* math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_float): Remove.
	* math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_float): Remove.
	* math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
	(ROUNDING_TESTS_float): Remove.
	* math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
	!TEST_MATHVEC here.
	(IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
	(IF_ROUND_INIT_FE_UPWARD): Likewise.
Diffstat (limited to 'math/test-double-vlen4.h')
-rw-r--r--math/test-double-vlen4.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/math/test-double-vlen4.h b/math/test-double-vlen4.h
index a28fef367c..3193bc0915 100644
--- a/math/test-double-vlen4.h
+++ b/math/test-double-vlen4.h
@@ -19,10 +19,6 @@
 #include "test-double.h"
 #include "test-math-no-inline.h"
 #include "test-math-vector.h"
-#include <math-tests-rounding.h>
-
-#undef ROUNDING_TESTS_double
-#define ROUNDING_TESTS_double(MODE) ((MODE) == FE_TONEAREST)
 
 #define VEC_SUFF _vlen4
 #define VEC_LEN 4