about summary refs log tree commit diff
path: root/math/libm-test-csin.inc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-02-09 18:30:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-09 18:30:41 +0000
commit1266b9361aaafb122d530efefa90381e44d5b88e (patch)
treed3d9e68e263f5645298c3ce535b19c4bb91edd76 /math/libm-test-csin.inc
parent3789e2fd9d2eef1bf39820df584acab670183905 (diff)
downloadglibc-1266b9361aaafb122d530efefa90381e44d5b88e.tar.gz
glibc-1266b9361aaafb122d530efefa90381e44d5b88e.tar.xz
glibc-1266b9361aaafb122d530efefa90381e44d5b88e.zip
Move more csin, csinh tests to auto-libm-test-in.
When I moved tests of csin and csinh to auto-libm-test-in, I didn't
move a few tests for which gen-auto-libm-tests was very slow because
of MPC slowness on certain inputs.

Now that auto-libm-test-out has been split up, such slowness only
affects regenerating the test expectations for the individual
functions in question, rather than any addition of tests for any
function to auto-libm-test-in.  Thus, I no longer consider it a
problem to have these inputs in auto-libm-test-in, and this patch
moves them there.  This results in test generation for csin and csinh
taking 5m43s (for each of csin and csinh) on my system, while other
functions are unaffected.

I expect the test generation to be much faster in MPC 1.1 (the
relevant performance improvements went in MPC mainline in Dec 2013,
but there hasn't been a release from mainline since then).

Tested for x86_64 and x86.

	* math/auto-libm-test-in: Add more tests of csin and csinh.
	* math/auto-libm-test-out-csin: Regenerated.
	* math/auto-libm-test-out-csinh: Likewise.
	* math/libm-test-csin.inc (csin_test_data): Remove tests moved to
	auto-libm-test-in.
	* math/libm-test-csinh.inc (csinh_test_data): Likewise.
Diffstat (limited to 'math/libm-test-csin.inc')
-rw-r--r--math/libm-test-csin.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/math/libm-test-csin.inc b/math/libm-test-csin.inc
index 3bf5eebe07..f42828c874 100644
--- a/math/libm-test-csin.inc
+++ b/math/libm-test-csin.inc
@@ -64,9 +64,6 @@ static const struct test_c_c_data csin_test_data[] =
     TEST_c_c (csin, qnan_value, qnan_value, qnan_value, qnan_value),
 
     AUTO_TESTS_c_c (csin),
-
-    TEST_c_c (csin, min_subnorm_value, min_value, min_subnorm_value, min_value, UNDERFLOW_EXCEPTION),
-    TEST_c_c (csin, min_value, min_subnorm_value, min_value, min_subnorm_value, UNDERFLOW_EXCEPTION),
   };
 
 static void