From 0f044be1dae5169d0e57f8d487b427863aeadab4 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Thu, 27 Feb 2025 16:28:52 +0000 Subject: [PATCH] AArch64: Use prefer_sve_ifuncs for SVE memset Use prefer_sve_ifuncs for SVE memset just like memcpy. Reviewed-by: Yury Khrustalev --- sysdeps/aarch64/multiarch/memset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/aarch64/multiarch/memset.c b/sysdeps/aarch64/multiarch/memset.c index 183c334988..872f39f00f 100644 --- a/sysdeps/aarch64/multiarch/memset.c +++ b/sysdeps/aarch64/multiarch/memset.c @@ -51,7 +51,7 @@ select_memset_ifunc (void) if (IS_A64FX (midr) && zva_size == 256) return __memset_a64fx; - if (zva_size == 64) + if (prefer_sve_ifuncs && zva_size == 64) return __memset_sve_zva64; }