summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-07 18:08:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-07 18:08:44 +0000
commit58c4a1612db6a52d814d856f20bf93f1cac45232 (patch)
treedf0d6ed7c208c8a41e21e740c869fd50b4141989 /ChangeLog
parentfeda96a1781e6d79a091df8747e696ba2751df82 (diff)
downloadglibc-58c4a1612db6a52d814d856f20bf93f1cac45232.tar.gz
glibc-58c4a1612db6a52d814d856f20bf93f1cac45232.tar.xz
glibc-58c4a1612db6a52d814d856f20bf93f1cac45232.zip
Handle more _FloatN, _FloatNx types in type-generic strtod tests.
Continuing the preparation for additional _FloatN / _FloatNx type
support, this patch adds support to type-generic strtod tests.
GEN_STRTOD_TEST_FOREACH and STRTOD_TEST_FOREACH are made to handle the
full set of such types.  tst-strtod-round-skeleton.c is updated for
those types it can handle without needing changes to the generator
(i.e. those types that have already-handled formats).

Tested for x86_64.

	* stdlib/tst-strtod.h (F16): New macro.
	(F32): Likewise.
	(F64): Likewise.
	(F32X): Likewise.
	(F64X): Likewise.
	(F128X): Likewise.
	(IF_FLOAT16): Likewise.
	(IF_FLOAT32): Likewise.
	(IF_FLOAT64): Likewise.
	(IF_FLOAT32X): Likewise.
	(IF_FLOAT64X): Likewise.
	(IF_FLOAT128X): Likewise.
	(GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
	_Float32, _Float64, _Float32x, _Float64x and _Float128x.
	(STRTOD_TEST_FOREACH): Likewise.
	* stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
	(CHOOSE_f64): Likewise.
	(CHOOSE_f32x): Likewise.
	(CHOOSE_f64x): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 47baa185c2..862c98e771 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2017-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+	* stdlib/tst-strtod.h (F16): New macro.
+	(F32): Likewise.
+	(F64): Likewise.
+	(F32X): Likewise.
+	(F64X): Likewise.
+	(F128X): Likewise.
+	(IF_FLOAT16): Likewise.
+	(IF_FLOAT32): Likewise.
+	(IF_FLOAT64): Likewise.
+	(IF_FLOAT32X): Likewise.
+	(IF_FLOAT64X): Likewise.
+	(IF_FLOAT128X): Likewise.
+	(GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
+	_Float32, _Float64, _Float32x, _Float64x and _Float128x.
+	(STRTOD_TEST_FOREACH): Likewise.
+	* stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
+	(CHOOSE_f64): Likewise.
+	(CHOOSE_f32x): Likewise.
+	(CHOOSE_f64x): Likewise.
+
 2017-11-07  Andreas Schwab  <schwab@suse.de>
 
 	* nptl/Makefile (tests-internal): Remove tst-typesizes.