]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Improve codegen in users of ADVSIMD log1p helper
authorPierre Blanchard <pierre.blanchard@arm.com>
Mon, 9 Dec 2024 15:55:39 +0000 (15:55 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Thu, 27 Feb 2025 17:07:01 +0000 (17:07 +0000)
commit2aed9796bfb17b257e63b12cefdb7ff60be09626
tree3816afa869bad6032498bed651feabb0315bf20a
parentae04f63087415eba9060143608b03db693854bb7
AArch64: Improve codegen in users of ADVSIMD log1p helper

Add inline helper for log1p and rearrange operations so MOV
is not necessary in reduction or around the special-case handler.
Reduce memory access by using more indexed MLAs in polynomial.
Speedup on Neoverse V1 for log1p (3.5%), acosh (7.5%) and atanh (10%).

(cherry picked from commit ca0c0d0f26fbf75b9cacc65122b457e8fdec40b8)
sysdeps/aarch64/fpu/acosh_advsimd.c
sysdeps/aarch64/fpu/atanh_advsimd.c
sysdeps/aarch64/fpu/log1p_advsimd.c
sysdeps/aarch64/fpu/v_log1p_inline.h