]> sourceware.org Git - glibc.git/commit
AArch64: Optimize memset
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 9 Sep 2024 14:26:47 +0000 (15:26 +0100)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 9 Sep 2024 14:30:00 +0000 (15:30 +0100)
commitcec3aef32412779e207f825db0d057ebb4628ae8
treecefd2c2b400f8f3811931ff1246dcbee15487780
parent3fc1d3bc336b2ae1236f7d81bed3a49200094afa
AArch64: Optimize memset

Improve small memsets by avoiding branches and use overlapping stores.
Use DC ZVA for copies over 128 bytes.  Remove unnecessary code for ZVA sizes
other than 64 and 128.  Performance of random memset benchmark improves by 24%
on Neoverse N1.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/aarch64/memset.S
This page took 0.037591 seconds and 5 git commands to generate.