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 16:41:52 +0100 |
commit | 0cbe0b1a47f82b95a0c3cc06e7707d898446928d (patch) | |
tree | d7c8b4354a0aad9a554ee357bb856a4efe601cfc /sysdeps/aarch64/multiarch/memmove.c | |
parent | 9627bbbc1c06dbc7d24f61639488d4146082a951 (diff) | |
download | glibc-0cbe0b1a47f82b95a0c3cc06e7707d898446928d.tar.gz glibc-0cbe0b1a47f82b95a0c3cc06e7707d898446928d.tar.xz glibc-0cbe0b1a47f82b95a0c3cc06e7707d898446928d.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)) |