diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2025-01-10 10:34:52 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2025-01-10 10:39:34 +0000 |
commit | 9d1de25930735261c16ed874a933b4c1f1d9041e (patch) | |
tree | b0cac1c933cc1ecb885c7e757b89ffbf13f1f012 /pl/math/test/pl_test.h | |
parent | edc5c0de794f521eb620d2b6cbaee2434442a8f3 (diff) |
Update the Arm Optimized Routinesvendor/arm-optimized-routines/v25.01vendor/arm-optimized-routines
Import the v25.01 release of the Arm Optimized Routines [1].
[1] https://github.com/ARM-software/optimized-routines/tree/v25.01
Sponsored by: Arm Ltd
Diffstat (limited to 'pl/math/test/pl_test.h')
-rw-r--r-- | pl/math/test/pl_test.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/pl/math/test/pl_test.h b/pl/math/test/pl_test.h deleted file mode 100644 index e7ed4eed634e..000000000000 --- a/pl/math/test/pl_test.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * PL macros for emitting various details about routines for consumption by - * runulp.sh. - * - * Copyright (c) 2022-2023, Arm Limited. - * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception. - */ - -/* Emit the max ULP threshold, l, for routine f. Piggy-back PL_TEST_EXPECT_FENV - on PL_TEST_ULP to add EXPECT_FENV to all scalar routines. */ -#if WANT_VMATH || defined(IGNORE_SCALAR_FENV) -# define PL_TEST_ULP(f, l) PL_TEST_ULP f l -#else -# define PL_TEST_ULP(f, l) \ - PL_TEST_EXPECT_FENV_ALWAYS (f) \ - PL_TEST_ULP f l -#endif - -/* Emit routine name if e == 1 and f is expected to correctly trigger fenv - exceptions. e allows declaration to be emitted conditionally upon certain - build flags - defer expansion by one pass to allow those flags to be expanded - properly. */ -#define PL_TEST_EXPECT_FENV(f, e) PL_TEST_EXPECT_FENV_ (f, e) -#define PL_TEST_EXPECT_FENV_(f, e) PL_TEST_EXPECT_FENV_##e (f) -#define PL_TEST_EXPECT_FENV_1(f) PL_TEST_EXPECT_FENV_ENABLED f -#define PL_TEST_EXPECT_FENV_ALWAYS(f) PL_TEST_EXPECT_FENV (f, 1) - -#define PL_TEST_INTERVAL(f, lo, hi, n) PL_TEST_INTERVAL f lo hi n -#define PL_TEST_SYM_INTERVAL(f, lo, hi, n) \ - PL_TEST_INTERVAL (f, lo, hi, n) \ - PL_TEST_INTERVAL (f, -lo, -hi, n) -#define PL_TEST_INTERVAL_C(f, lo, hi, n, c) PL_TEST_INTERVAL f lo hi n c -#define PL_TEST_SYM_INTERVAL_C(f, lo, hi, n, c) \ - PL_TEST_INTERVAL_C (f, lo, hi, n, c) \ - PL_TEST_INTERVAL_C (f, -lo, -hi, n, c) -// clang-format off -#define PL_TEST_INTERVAL2(f, xlo, xhi, ylo, yhi, n) \ - PL_TEST_INTERVAL f xlo,ylo xhi,yhi n -// clang-format on |