[libc-commits] [libc] [libc] Add support for string/memory_utils functions for AArch64 without HW FP/SIMD (PR #137592)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Wed Apr 30 05:12:13 PDT 2025
================
@@ -46,9 +43,10 @@ inline_memcmp_aarch64_neon_gt16(CPtr p1, CPtr p2, size_t count) {
return generic::Memcmp<uint8x16_t>::loop_and_tail(p1 + 32, p2 + 32,
count - 32);
}
+#endif
-LIBC_INLINE MemcmpReturnType inline_memcmp_aarch64(CPtr p1, CPtr p2,
- size_t count) {
+[[gnu::flatten]] LIBC_INLINE MemcmpReturnType
+inline_memcmp_aarch64_dispatch(CPtr p1, CPtr p2, size_t count) {
----------------
gchatelet wrote:
Same here, the `_dispatch` functions should only contain the dispatch logic, each implementation should be able to evolve on their own.
https://github.com/llvm/llvm-project/pull/137592
More information about the libc-commits
mailing list