[compiler-rt] [compiler-rt][AArch64] Provide basic implementations of SME memcpy/memmove in case of strictly aligned memory access (PR #138250)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 08:36:12 PDT 2025
================
@@ -22,3 +23,46 @@ const void *__arm_sc_memchr(const void *src, int c,
return NULL;
}
+
+#ifndef __ARM_FEATURE_UNALIGNED
----------------
sdesmalen-arm wrote:
To avoid creating many different variants and various ifdefs, does it make sense to choose the implementation (either `sme-libc-mem-routines.S` (optimised) or `sme-libc-routines.c` (basic)) in CMakeLists.txt ? That way we can also let cmake emit a warning that the unoptimised SME routines are chosen, because of the constraints given by the compilation flags to compiler-rt.
https://github.com/llvm/llvm-project/pull/138250
More information about the llvm-commits
mailing list