diff options
author | Joe Ramsay <Joe.Ramsay@arm.com> | 2022-12-19 12:34:51 +0000 |
---|---|---|
committer | Joe Ramsay <joe.ramsay@arm.com> | 2022-12-19 12:34:51 +0000 |
commit | d05594e6718e6d86959c823bea4f019dea878bcb (patch) | |
tree | 4f8b3d053c15b03b0138a037c8920d3ff595651c /pl/math/v_log2_3u.c | |
parent | 0976cbd22158e1152070079642c21a6e02c21141 (diff) | |
download | arm-optimized-routines-d05594e6718e6d86959c823bea4f019dea878bcb.tar.gz |
pl/math: Replace WANT_ERRNO with WANT_SIMD_EXCEPT for Neon fenv
We were previously misusing the WANT_ERRNO build flag. This is now
replaced everywhere appropriate with WANT_SIMD_EXCEPT. A small number
of vector routines get fp exceptions right with no modification - the
tests have been updated to track this.
Diffstat (limited to 'pl/math/v_log2_3u.c')
-rw-r--r-- | pl/math/v_log2_3u.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pl/math/v_log2_3u.c b/pl/math/v_log2_3u.c index 7dca684..e0a854f 100644 --- a/pl/math/v_log2_3u.c +++ b/pl/math/v_log2_3u.c @@ -90,6 +90,7 @@ VPCS_ALIAS PL_SIG (V, D, 1, log2, 0.01, 11.1) PL_TEST_ULP (V_NAME (log2), 2.10) +PL_TEST_EXPECT_FENV_ALWAYS (V_NAME (log2)) PL_TEST_INTERVAL (V_NAME (log2), -0.0, -0x1p126, 100) PL_TEST_INTERVAL (V_NAME (log2), 0x1p-149, 0x1p-126, 4000) PL_TEST_INTERVAL (V_NAME (log2), 0x1p-126, 0x1p-23, 50000) |