From d05594e6718e6d86959c823bea4f019dea878bcb Mon Sep 17 00:00:00 2001 From: Joe Ramsay Date: Mon, 19 Dec 2022 12:34:51 +0000 Subject: 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. --- pl/math/v_log2_3u.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pl/math/v_log2_3u.c') 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) -- cgit v1.2.3