AArch64: Check for SVE in ifuncs [BZ #28744]

Add a check for SVE in the A64FX ifuncs for memcpy, memset and memmove.
This fixes BZ #28744.
This commit is contained in:
Wilco Dijkstra 2022-01-06 14:36:28 +00:00
parent 65ccd641ba
commit e5fa62b8db
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ libc_ifunc (__libc_memcpy,
|| IS_NEOVERSE_V1 (midr)
? __memcpy_simd
# if HAVE_AARCH64_SVE_ASM
: (IS_A64FX (midr)
: (IS_A64FX (midr) && sve
? __memcpy_a64fx
: __memcpy_generic))))));
# else

View File

@ -48,7 +48,7 @@ libc_ifunc (__libc_memmove,
|| IS_NEOVERSE_V1 (midr)
? __memmove_simd
# if HAVE_AARCH64_SVE_ASM
: (IS_A64FX (midr)
: (IS_A64FX (midr) && sve
? __memmove_a64fx
: __memmove_generic))))));
# else

View File

@ -44,7 +44,7 @@ libc_ifunc (__libc_memset,
: (IS_EMAG (midr) && zva_size == 64
? __memset_emag
# if HAVE_AARCH64_SVE_ASM
: (IS_A64FX (midr)
: (IS_A64FX (midr) && sve
? __memset_a64fx
: __memset_generic))));
# else