glibc/sysdeps/alpha/fpu
Adhemerval Zanella ed608a40e2 math: Use asinhf from CORE-MATH
The CORE-MATH implementation is correctly rounded (for any rounding mode)
and shows slight better performance to the generic asinhf.

The code was adapted to glibc style and to use the definition of
math_config.h (to handle errno, overflow, and underflow).

Benchtest on x64_64 (Ryzen 9 5900X, gcc 14.2.1), aarch64 (Neoverse-N1,
gcc 13.3.1), and powerpc (POWER10, gcc 13.2.1):

Latency                      master        patched   improvement
x86_64                      64.5128        56.9717        11.69%
x86_64v2                    63.3065        57.2666         9.54%
x86_64v3                    62.8719        51.4170        18.22%
i686                       189.1630        137.635        27.24%
aarch64 (Neoverse)          25.3551        20.5757        18.85%
power10                     17.9712        13.3302        25.82%

reciprocal-throughput        master        patched   improvement
x86_64                      20.0844        15.4731        22.96%
x86_64v2                    19.2919        15.4000        20.17%
x86_64v3                    18.7226        11.9009        36.44%
i686                       103.7670        80.2681        22.65%
aarch64 (Neoverse)          12.5005        8.68969        30.49%
power10                      7.2220        5.03617        30.27%

Signed-off-by: Alexei Sibidanov <sibid@uvic.ca>
Signed-off-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>:
Reviewed-by: DJ Delorie <dj@redhat.com>
2024-12-18 17:24:43 -03:00
..
bits Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
Versions
cabsf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cargf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cfloat-compat.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cimagf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
conjf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
crealf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_sqrt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_sqrtf.c
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fenv_libc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fpu_control.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libm-test-ulps math: Use asinhf from CORE-MATH 2024-12-18 17:24:43 -03:00
libm-test-ulps-name
math-barriers.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
math-use-builtins-sqrt.h
s_cacosf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cacoshf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_casinf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_casinhf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_catanf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_catanhf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ccosf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ccoshf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cexpf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_clog10f.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_clogf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cpowf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cprojf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_csinf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_csinhf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_csqrtf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ctanf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ctanhf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fma.c
s_isnan.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_isnanf.c
s_llrint.c
s_llrintf.c
s_llround.c
s_llroundf.c
s_lrint.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lrintf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lroundf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_rint.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_rintf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00