diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-02-09 18:30:41 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-02-09 18:30:41 +0000 |
commit | 1266b9361aaafb122d530efefa90381e44d5b88e (patch) | |
tree | d3d9e68e263f5645298c3ce535b19c4bb91edd76 /math/auto-libm-test-in | |
parent | 3789e2fd9d2eef1bf39820df584acab670183905 (diff) | |
download | glibc-1266b9361aaafb122d530efefa90381e44d5b88e.tar glibc-1266b9361aaafb122d530efefa90381e44d5b88e.tar.gz glibc-1266b9361aaafb122d530efefa90381e44d5b88e.tar.bz2 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/auto-libm-test-in')
-rw-r--r-- | math/auto-libm-test-in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 58236efd66..64d1784b96 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 |