]> 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 14:23:10 +0000 (14:23 +0000)
commit7038970f1f485fb660606f0c596f432fdef250f6
tree5ed80c4f617e492b799be2bebab4540618ab802d
parent27fa0268ead054810a5e2669d0b5bb88ceb05b05
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]