diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2022-10-26 14:16:50 +0100 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-04-08 17:26:02 +0100 |
commit | 28e40b39096fb3801796015785a1c2842b84a07d (patch) | |
tree | 5970009c6a8a6f917fe7209ed2b981744c83d43c /sysdeps/aarch64/multiarch/memmove.c | |
parent | c503e2206e77506eba9976adbe6fddce6b7407cf (diff) | |
download | glibc-28e40b39096fb3801796015785a1c2842b84a07d.tar.gz glibc-28e40b39096fb3801796015785a1c2842b84a07d.tar.xz glibc-28e40b39096fb3801796015785a1c2842b84a07d.zip |
aarch64: Use memcpy_simd as the default memcpy
Since __memcpy_simd is the fastest memcpy on almost all cores, replace the generic memcpy with it. If SVE is available, a SVE memcpy will be used by default (including for Neoverse N2). (cherry picked from commit e6f3fe362f1aab78b1448d69ecdbd9e3872636d3)
Diffstat (limited to 'sysdeps/aarch64/multiarch/memmove.c')
-rw-r--r-- | sysdeps/aarch64/multiarch/memmove.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/aarch64/multiarch/memmove.c b/sysdeps/aarch64/multiarch/memmove.c index 261996ecc4..70e8eaef7c 100644 --- a/sysdeps/aarch64/multiarch/memmove.c +++ b/sysdeps/aarch64/multiarch/memmove.c @@ -29,7 +29,6 @@ extern __typeof (__redirect_memmove) __libc_memmove; extern __typeof (__redirect_memmove) __memmove_generic attribute_hidden; -extern __typeof (__redirect_memmove) __memmove_simd attribute_hidden; extern __typeof (__redirect_memmove) __memmove_thunderx attribute_hidden; extern __typeof (__redirect_memmove) __memmove_thunderx2 attribute_hidden; extern __typeof (__redirect_memmove) __memmove_falkor attribute_hidden; @@ -41,9 +40,6 @@ select_memmove_ifunc (void) { INIT_ARCH (); - if (IS_NEOVERSE_N1 (midr) || IS_NEOVERSE_N2 (midr)) - return __memmove_simd; - if (sve && HAVE_AARCH64_SVE_ASM) { if (IS_A64FX (midr)) |