]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Remove zva_128 from memset
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 25 Nov 2024 18:43:08 +0000 (18:43 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 29 Nov 2024 13:27:13 +0000 (13:27 +0000)
commita08d9a52f967531a77e1824c23b5368c6434a72d
treeb1527224e051f760a5df6bae69eb2b2522d12377
parent2d6427a63cad8056ba6bcaaaa8df21977c8dde3d
AArch64: Remove zva_128 from memset

Remove ZVA 128 support from memset - the new memset no longer
guarantees count >= 256, which can result in underflow and a
crash if ZVA size is 128 ([1]).  Since only one CPU uses a ZVA
size of 128 and its memcpy implementation was removed in commit
e162ab2bf1b82c40f29e1925986582fa07568ce8, remove this special
case too.

[1] https://sourceware.org/pipermail/libc-alpha/2024-November/161626.html

Reviewed-by: Andrew Pinski <quic_apinski@quicinc.com>
sysdeps/aarch64/memset.S