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 17:30:14 +0100 |
commit | 650300d2332af225a3ac28110f692444a6c7acfd (patch) | |
tree | 536dcb0e3195ce38b5cd743a151ee0e1842f143f /sysdeps/aarch64/multiarch/memcpy_a64fx.S | |
parent | 5bfa9f4369dfbc1f75f5c9d9f4bc81db4d343cc2 (diff) | |
download | glibc-650300d2332af225a3ac28110f692444a6c7acfd.tar.gz glibc-650300d2332af225a3ac28110f692444a6c7acfd.tar.xz glibc-650300d2332af225a3ac28110f692444a6c7acfd.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 */ |