mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
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:
parent
65ccd641ba
commit
e5fa62b8db
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user