AArch64: Use prefer_sve_ifuncs for SVE memset

Use prefer_sve_ifuncs for SVE memset just like memcpy.

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
(cherry picked from commit 0f044be1da)
This commit is contained in:
Wilco Dijkstra 2025-02-27 16:28:52 +00:00
parent 0190de510c
commit 26a9798329
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,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;
}