mirror of git://sourceware.org/git/glibc.git
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:
parent
0190de510c
commit
26a9798329
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue