diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2022-10-26 14:16:50 +0100 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-04-11 13:47:20 +0100 |
commit | f3095d3eb6d80b1f07f3410284e3880c7b3d9562 (patch) | |
tree | 2f5c5347b434e48ddfb7dea1049ffbf28de60a00 /sysdeps/aarch64/multiarch/memcpy.c | |
parent | 47f69077d5d4fe0eb6939a57e5f49b90a856c860 (diff) | |
download | glibc-f3095d3eb6d80b1f07f3410284e3880c7b3d9562.tar.gz glibc-f3095d3eb6d80b1f07f3410284e3880c7b3d9562.tar.xz glibc-f3095d3eb6d80b1f07f3410284e3880c7b3d9562.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. (cherry picked from commit 531717afbc49c5cf1d994ddf827891abc906056a)
Diffstat (limited to 'sysdeps/aarch64/multiarch/memcpy.c')
-rw-r--r-- | sysdeps/aarch64/multiarch/memcpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/aarch64/multiarch/memcpy.c b/sysdeps/aarch64/multiarch/memcpy.c index e69a1ae5af..4a04a63b0f 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,10 +40,7 @@ libc_ifunc (__libc_memcpy, ? __memcpy_falkor : (IS_THUNDERX2 (midr) || IS_THUNDERX2PA (midr) ? __memcpy_thunderx2 - : (IS_NEOVERSE_N1 (midr) || IS_NEOVERSE_N2 (midr) - || IS_NEOVERSE_V1 (midr) - ? __memcpy_simd - : __memcpy_generic))))); + : __memcpy_generic)))); # undef memcpy strong_alias (__libc_memcpy, memcpy); |