aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/multiarch/memcpy.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2022-10-26 14:16:50 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2022-10-26 14:16:50 +0100
commite6f3fe362f1aab78b1448d69ecdbd9e3872636d3 (patch)
treea4b65f09b750d95e3e593b4114f1212aab09fabe /sysdeps/aarch64/multiarch/memcpy.c
parenta8e72913fea0c6e2832c50523c60907ffa3b753b (diff)
downloadglibc-e6f3fe362f1aab78b1448d69ecdbd9e3872636d3.zip
glibc-e6f3fe362f1aab78b1448d69ecdbd9e3872636d3.tar.gz
glibc-e6f3fe362f1aab78b1448d69ecdbd9e3872636d3.tar.bz2
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).
Diffstat (limited to 'sysdeps/aarch64/multiarch/memcpy.c')
-rw-r--r--sysdeps/aarch64/multiarch/memcpy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/aarch64/multiarch/memcpy.c b/sysdeps/aarch64/multiarch/memcpy.c
index 0486213..21d954e 100644
--- a/sysdeps/aarch64/multiarch/memcpy.c
+++ b/sysdeps/aarch64/multiarch/memcpy.c
@@ -29,7 +29,6 @@
extern __typeof (__redirect_memcpy) __libc_memcpy;
extern __typeof (__redirect_memcpy) __memcpy_generic attribute_hidden;
-extern __typeof (__redirect_memcpy) __memcpy_simd attribute_hidden;
extern __typeof (__redirect_memcpy) __memcpy_thunderx attribute_hidden;
extern __typeof (__redirect_memcpy) __memcpy_thunderx2 attribute_hidden;
extern __typeof (__redirect_memcpy) __memcpy_falkor attribute_hidden;
@@ -41,9 +40,6 @@ select_memcpy_ifunc (void)
{
INIT_ARCH ();
- if (IS_NEOVERSE_N1 (midr) || IS_NEOVERSE_N2 (midr))
- return __memcpy_simd;
-
if (sve && HAVE_AARCH64_SVE_ASM)
{
if (IS_A64FX (midr))