diff options
author | Joe Ramsay <Joe.Ramsay@arm.com> | 2022-12-15 13:27:31 +0000 |
---|---|---|
committer | Joe Ramsay <joe.ramsay@arm.com> | 2022-12-15 13:27:31 +0000 |
commit | 1bca1a541cce13c352296acd5dfa16160fc27bc9 (patch) | |
tree | 71ea7d7ff77d964ce4dc10b7ba8e293a333a6ef6 /pl/math/v_erfc_4u.c | |
parent | 3c0af1a73df1551a372294d4b05573b2a47f051e (diff) | |
download | arm-optimized-routines-1bca1a541cce13c352296acd5dfa16160fc27bc9.tar.gz |
pl/math: Auto-generate mathbench and ulp headers
Instead of maintaining three separate lists of routines, which
are cumbersome and prone to merge conflicts, we provide a new
macro, PL_SIG, which by some preprocessor machinery outputs the
lists in the required format (macro formats have been changed
very slightly to make the generation simpler). Only routines with
simple signatures are handled - binary functions still need
mathbench wrappers defined manually. As well, routines with
non-standard references (i.e. powi/powk) still need entries and
wrappers manually defined.
Diffstat (limited to 'pl/math/v_erfc_4u.c')
-rw-r--r-- | pl/math/v_erfc_4u.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pl/math/v_erfc_4u.c b/pl/math/v_erfc_4u.c index 80e11e7..88f5172 100644 --- a/pl/math/v_erfc_4u.c +++ b/pl/math/v_erfc_4u.c @@ -5,9 +5,11 @@ * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception */ -#include "math_config.h" #include "v_math.h" #include "horner.h" +#include "math_config.h" +#include "pl_sig.h" + #if V_SUPPORTED /* Accurate exponential (vector variant of exp_dd). */ @@ -153,4 +155,6 @@ v_f64_t V_NAME (erfc) (v_f64_t x) return y; } VPCS_ALIAS + +PL_SIG (V, D, 1, erfc, -6.0, 28.0) #endif |