]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Optimise SVE FP64 Hyperbolics
authorDylan Fleming <Dylan.Fleming@arm.com>
Wed, 18 Jun 2025 16:19:22 +0000 (16:19 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 18 Jun 2025 17:28:51 +0000 (17:28 +0000)
commitdee22d2a81ab59afc165fb6dcb45d723f13582a0
treed451369d4e3a3009d524eac484a2fa6e3b3e6686
parent1e3d1ddf977ecd653de8d0d10eb083d80ac21cf3
AArch64: Optimise SVE FP64 Hyperbolics

Reworke SVE FP64 hyperbolics to use the SVE FEXPA
instruction.

Also update the special case handelling for large
inputs to be entirely vectorised.

Performance improvements on Neoverse V1:

cosh_sve: 19% for |x| < 709, 5x otherwise
sinh_sve: 24% for |x| < 709, 5.9x otherwise
tanh_sve: 12% for |x| < 19,  9x otherwise

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
sysdeps/aarch64/fpu/cosh_sve.c
sysdeps/aarch64/fpu/sinh_sve.c
sysdeps/aarch64/fpu/tanh_sve.c