diff options
author | Joe Ramsay <Joe.Ramsay@arm.com> | 2022-07-15 08:56:20 +0100 |
---|---|---|
committer | Joe Ramsay <joe.ramsay@arm.com> | 2022-07-15 08:56:20 +0100 |
commit | 83a43cd7afcbdca7e192704121acfad6fa24cb67 (patch) | |
tree | 745a769bb89ad8dc0fcc755411f52f14af9a1d8a /pl/math/test/mathbench_funcs.h | |
parent | 241ac3945ce507f6d08f66fcf11596d785ba933f (diff) | |
download | arm-optimized-routines-83a43cd7afcbdca7e192704121acfad6fa24cb67.tar.gz |
pl/math: Add vector/Neon asinhf
The new routine uses vector log1pf, and is accurate to 2.7 ulp.
Diffstat (limited to 'pl/math/test/mathbench_funcs.h')
-rw-r--r-- | pl/math/test/mathbench_funcs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pl/math/test/mathbench_funcs.h b/pl/math/test/mathbench_funcs.h index aa4a2eb..f681489 100644 --- a/pl/math/test/mathbench_funcs.h +++ b/pl/math/test/mathbench_funcs.h @@ -22,6 +22,7 @@ D (log10, 0.01, 11.1) D (log1p, -0.9, 10.0) #if WANT_VMATH +F (__s_asinhf, -10.0, 10.0) F (__s_atanf, -10.0, 10.0) D (__s_atan, -10.0, 10.0) {"__s_atan2f", 'f', 0, -10.0, 10.0, {.f = __s_atan2f_wrap}}, @@ -34,6 +35,7 @@ F (__s_log10f, 0.01, 11.1) D (__s_log10, 0.01, 11.1) F (__s_log1pf, -0.9, 10.0) #if __aarch64__ +VF (__v_asinhf, -10.0, 10.0) VF (__v_atanf, -10.0, 10.0) VD (__v_atan, -10.0, 10.0) {"__v_atan2f", 'f', 'v', -10.0, 10.0, {.vf = __v_atan2f_wrap}}, @@ -46,6 +48,9 @@ VD (__v_log10, 0.01, 11.1) VF (__v_log10f, 0.01, 11.1) VF (__v_log1pf, -0.9, 10.0) #ifdef __vpcs +VNF (__vn_asinhf, -10.0, 10.0) +VNF (_ZGVnN4v_asinhf, -10.0, 10.0) + VNF (__vn_atanf, -10.0, 10.0) VNF (_ZGVnN4v_atanf, -10.0, 10.0) |