]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Fix instability in AdvSIMD tan
authorJoe Ramsay <Joe.Ramsay@arm.com>
Thu, 6 Nov 2025 18:26:54 +0000 (18:26 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Thu, 6 Nov 2025 18:30:47 +0000 (18:30 +0000)
commit6c22823da57aa5218f717f569c04c9573c0448c5
tree00d420a34aa51ff3ebbc32a874e123f2c56d31aa
parent5b82fb18827e962af9f080fdf3c1a69802783f67
AArch64: Fix instability in AdvSIMD tan

Previously presence of special-cases in one lane could affect the
results in other lanes due to unconditional scalar fallback. The old
WANT_SIMD_EXCEPT option (which has never been enabled in libmvec) has
been removed from AOR, making it easier to spot and fix this. 4%
improvement in throughput with GCC 14 on Neoverse V1. This bug is
present as far back as 2.39 (where tan was first introduced).

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