glibc/sysdeps/powerpc
Adhemerval Zanella ae679a0aca math: Use asinpif from CORE-MATH
The CORE-MATH implementation is correctly rounded (for any rounding mode)
and shows better performance to the generic asinpif.

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                 46.4996        41.6126        10.51%
x86_64v2               46.7551        38.8235        16.96%
x86_64v3               42.6235        33.7603        20.79%
aarch64 (Neoverse)     17.4161        14.3604        17.55%
power8                 10.7347         9.0193        15.98%
power10                10.6420         9.0362        15.09%

reciprocal-throughput   master        patched   improvement
x86_64                 24.7208        16.5544        33.03%
x86_64v2               24.2177        14.8938        38.50%
x86_64v3               20.5617        10.5452        48.71%
aarch64 (Neoverse)     13.4827        7.17613        46.78%
power8                 6.46134        3.56089        44.89%
power10                5.79007        3.49544        39.63%

Reviewed-by: DJ Delorie <dj@redhat.com>
2025-02-12 16:31:57 -03:00
..
bits Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fpu math: Use asinpif from CORE-MATH 2025-02-12 16:31:57 -03:00
nofpu Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nptl Move <thread_pointer.h> to kernel-independent sysdeps directories 2025-01-09 19:30:16 +01:00
power4 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
power6 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
powerpc32 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
powerpc64 powerpc64le: Also avoid IFUNC for __mempcpy 2025-02-05 09:53:11 +01:00
sys/platform Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makefile
Versions powerpc: Add space for HWCAP3/HWCAP4 in the TCB for future Power. 2023-12-15 20:20:14 -06:00
abort-instr.h
atomic-machine.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-lookupcfg.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-procinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-procinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-tls.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dl-tls.h elf: Remove the remaining uses of GET_ADDR_OFFSET 2025-01-02 13:45:27 +01:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
elf-initfini.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fpu_control.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
gccframe.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hwcapinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hwcapinfo.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ifunc-sel.h
jmpbuf-offsets.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
jmpbuf-unwind.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ldsodefs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-tls.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
locale-defines.sym
longjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
machine-gmon.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math-tests-snan-cast.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math-use-builtins-ffs.h string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
mod-cache-ppc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mod-tlsopt-powerpc.c
mp_clz_tab.c
novmx-longjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
novmx-sigjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
novmxsetjmp.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
preconfigure Update copyright in generated files by running "make" 2025-01-01 11:22:09 -08:00
preconfigure.ac powerpc: Placeholder and infrastructure/build support to add Power11 related changes. 2024-03-19 21:11:34 -05:00
rtld-global-offsets.sym
sigjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sotruss-lib.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
string-fza.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-arith.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-arithf.c
test-get_hwcap-static.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-get_hwcap.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-gettimebase.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
thread_pointer.h Move <thread_pointer.h> to kernel-independent sysdeps directories 2025-01-09 19:30:16 +01:00
tst-cache-ppc-static-dlopen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-cache-ppc-static.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-cache-ppc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-set_ppr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-stack-align.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-tlsifunc-static.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-tlsifunc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-tlsopt-powerpc.c
utmp-size.h login: Check default sizes of structs utmp, utmpx, lastlog 2024-04-19 14:38:17 +02:00