]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Optimize algorithm in users of SVE expf helper
authorPierre Blanchard <pierre.blanchard@arm.com>
Tue, 18 Mar 2025 17:07:31 +0000 (17:07 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 18 Mar 2025 17:15:18 +0000 (17:15 +0000)
commitcf56eb28fa277d9dbb301654682ca89f71c30a48
tree8d526e7d1d9e7fd5392c97db6066a7d1bb0fb1c0
parent9f551e28a74941e17ed4572511a2308c03f5a718
AArch64: Optimize algorithm in users of SVE expf helper

Polynomial order was unnecessarily high, unlocking multiple
optimizations.
Max error for new SVE expf is 0.88 +0.5ULP.
Max error for new SVE coshf is 2.56 +0.5ULP.
Performance improvement on Neoverse V1: expf (30%), coshf (26%).

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
sysdeps/aarch64/fpu/coshf_sve.c
sysdeps/aarch64/fpu/expf_sve.c
sysdeps/aarch64/fpu/sv_expf_inline.h