]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Add SVE memset
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 24 Dec 2024 18:01:59 +0000 (18:01 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 28 Feb 2025 15:04:24 +0000 (15:04 +0000)
commitc0aebc61b0e0f8c3f4ebb2fa816ef7af0cf8f94f
treec0c34b9749f2ae42130e3e5798fa4771aad48c9f
parenteb2d69db2de1b970bf2ebf3e8a76056107edbeb2
AArch64: Add SVE memset

Add SVE memset based on the generic memset with predicated load for sizes < 16.
Unaligned memsets of 128-1024 are improved by ~20% on average by using aligned
stores for the last 64 bytes.  Performance of random memset benchmark improves
by ~2% on Neoverse V1.

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
(cherry picked from commit 163b1bbb76caba4d9673c07940c5930a1afa7548)
sysdeps/aarch64/multiarch/Makefile
sysdeps/aarch64/multiarch/ifunc-impl-list.c
sysdeps/aarch64/multiarch/memset.c
sysdeps/aarch64/multiarch/memset_sve_zva64.S [new file with mode: 0644]