From 1266b9361aaafb122d530efefa90381e44d5b88e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 9 Feb 2017 18:30:41 +0000 Subject: 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. --- math/auto-libm-test-in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'math/auto-libm-test-in') diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 58236ef..64d1784 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -1253,6 +1253,9 @@ csin -min 1 csin min_subnorm 80 csin -min_subnorm 80 +csin min_subnorm min +csin min min_subnorm + csinh 0.0 0.0 csinh -0 0.0 csinh 0.0 -0 @@ -1288,6 +1291,9 @@ csinh 1 -min csinh 80 min_subnorm csinh 80 -min_subnorm +csinh min_subnorm min +csinh min min_subnorm + csqrt 0 0 csqrt 0 -0 csqrt -0 0 -- cgit v1.1