diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-10-24 13:51:07 +0100 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-04-08 16:49:14 +0100 |
commit | 6bb41218730dd042c53964b03cdb2a0835293991 (patch) | |
tree | 1784ee8f5dc2c6bcdaccea3dee9a129b3395d828 /sysdeps/aarch64/multiarch/memcpy_a64fx.S | |
parent | 3bac018a985f202b36556dba9ae187cc8474342f (diff) | |
download | glibc-6bb41218730dd042c53964b03cdb2a0835293991.tar.gz glibc-6bb41218730dd042c53964b03cdb2a0835293991.tar.xz glibc-6bb41218730dd042c53964b03cdb2a0835293991.zip |
AArch64: Cleanup ifuncs
Cleanup ifuncs. Remove uses of libc_hidden_builtin_def, use ENTRY rather than ENTRY_ALIGN, remove unnecessary defines and conditional compilation. Rename strlen_mte to strlen_generic. Remove rtld-memset. Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com> (cherry picked from commit 9fd3409842b3e2d31cff5dbd6f96066c430f0aa2)
Diffstat (limited to 'sysdeps/aarch64/multiarch/memcpy_a64fx.S')
-rw-r--r-- | sysdeps/aarch64/multiarch/memcpy_a64fx.S | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sysdeps/aarch64/multiarch/memcpy_a64fx.S b/sysdeps/aarch64/multiarch/memcpy_a64fx.S index c4eab06176..c254dc8b9f 100644 --- a/sysdeps/aarch64/multiarch/memcpy_a64fx.S +++ b/sysdeps/aarch64/multiarch/memcpy_a64fx.S @@ -39,9 +39,6 @@ #define vlen8 x8 #if HAVE_AARCH64_SVE_ASM -# if IS_IN (libc) -# define MEMCPY __memcpy_a64fx -# define MEMMOVE __memmove_a64fx .arch armv8.2-a+sve @@ -97,7 +94,7 @@ #undef BTI_C #define BTI_C -ENTRY (MEMCPY) +ENTRY (__memcpy_a64fx) PTR_ARG (0) PTR_ARG (1) @@ -234,11 +231,10 @@ L(last_bytes): st1b z3.b, p0, [dstend, -1, mul vl] ret -END (MEMCPY) -libc_hidden_builtin_def (MEMCPY) +END (__memcpy_a64fx) -ENTRY_ALIGN (MEMMOVE, 4) +ENTRY_ALIGN (__memmove_a64fx, 4) PTR_ARG (0) PTR_ARG (1) @@ -307,7 +303,5 @@ L(full_overlap): mov dst, dstin b L(last_bytes) -END (MEMMOVE) -libc_hidden_builtin_def (MEMMOVE) -# endif /* IS_IN (libc) */ +END (__memmove_a64fx) #endif /* HAVE_AARCH64_SVE_ASM */ |