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/sv_sin_3u.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/sv_sin_3u.c')
-rw-r--r-- | pl/math/sv_sin_3u.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pl/math/sv_sin_3u.c b/pl/math/sv_sin_3u.c index be873a2..4d879e0 100644 --- a/pl/math/sv_sin_3u.c +++ b/pl/math/sv_sin_3u.c @@ -6,6 +6,8 @@ */ #include "sv_math.h" +#include "pl_sig.h" + #if SV_SUPPORTED #define InvPi (sv_f64 (0x1.45f306dc9c883p-2)) @@ -79,4 +81,5 @@ __sv_sin_x (sv_f64_t x, const svbool_t pg) strong_alias (__sv_sin_x, _ZGVsMxv_sin) + PL_SIG (SV, D, 1, sin, -3.1, 3.1) #endif |