]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Fix and improve SVE pow(f) special cases
authorPierre Blanchard <pierre.blanchard@arm.com>
Tue, 18 Nov 2025 15:09:05 +0000 (15:09 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 18 Nov 2025 15:51:15 +0000 (15:51 +0000)
commitbb6519de1e6fe73d79bc71588ec4e5668907f080
treecee7630d0893537cd058d3449d07eb2c6827ec9b
parente889160273a4c2b68870c9adf341955867d76a7d
AArch64: Fix and improve SVE pow(f) special cases

powf:

Update scalar special case function to best use new interface.

pow:

Make specialcase NOINLINE to prevent str/ldr leaking in fast path.
Remove depency in sv_call2, as new callback impl is not a
performance gain.
Replace with vectorised specialcase since structure of scalar
routine is fairly simple.

Throughput gain of about 5-10% on V1 for large values and 25% for subnormal `x`.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
sysdeps/aarch64/fpu/pow_sve.c
sysdeps/aarch64/fpu/powf_sve.c