diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-03-17 15:46:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-03-19 11:45:44 -0300 |
commit | 1c15464ca05f36db5c582856d3770d5e8bde9d61 (patch) | |
tree | 5278adbefa85c883801987d2c392306890859391 /math/libm-test-support.c | |
parent | a8ce8222343933d28665e1687ab8862c0664d9f7 (diff) | |
download | glibc-1c15464ca05f36db5c582856d3770d5e8bde9d61.tar.gz glibc-1c15464ca05f36db5c582856d3770d5e8bde9d61.tar.xz glibc-1c15464ca05f36db5c582856d3770d5e8bde9d61.zip |
math: Remove inline math tests
With mathinline removal there is no need to keep building and testing inline math tests. The gen-libm-tests.py support to generate ULP_I_* is removed and all libm-test-ulps files are updated to longer have the i{float,double,ldouble} entries. The support for no-test-inline is also removed from both gen-auto-libm-tests and the auto-libm-test-out-* were regenerated. Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'math/libm-test-support.c')
-rw-r--r-- | math/libm-test-support.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/math/libm-test-support.c b/math/libm-test-support.c index 6601358f37..4b20f31325 100644 --- a/math/libm-test-support.c +++ b/math/libm-test-support.c @@ -45,8 +45,7 @@ TYPE_STR: The name of the type as used in ulps files, as a string. - ULP_IDX, ULP_I_IDX: The array indexes for ulps values for this - function. + ULP_IDX: The array indexes for ulps values for this function. LIT: Append the correct suffix to a literal. @@ -195,7 +194,6 @@ compare_ulp_data (const void *key, const void *ulp) return strcmp (keystr, ulpdat->name); } -static const int ulp_i_idx = ULP_I_IDX; static const int ulp_idx = ULP_IDX; /* Return the ulps for NAME in array DATA with NMEMB elements, or 0 if @@ -209,7 +207,7 @@ find_ulps (const char *name, const struct ulp_data *data, size_t nmemb) if (entry == NULL) return 0; else - return entry->max_ulp[(flag_test_inline ? ulp_i_idx : ulp_idx)]; + return entry->max_ulp[ulp_idx]; } void @@ -981,8 +979,6 @@ enable_test (int exceptions) { if (exceptions & XFAIL_TEST) return 0; - if (flag_test_inline && (exceptions & NO_TEST_INLINE)) - return 0; if ((!SNAN_TESTS (FLOAT) || !snan_tests_arg) && (exceptions & TEST_SNAN) != 0) return 0; |