We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e7b3b commit 4727eefCopy full SHA for 4727eef
libc/src/string/string_length.h
@@ -24,7 +24,8 @@
24
#endif
25
#if defined(LIBC_TARGET_ARCH_IS_X86)
26
#include "src/string/memory_utils/x86_64/inline_strlen.h"
27
-#elif defined(LIBC_TARGET_ARCH_IS_AARCH64)
+#elif defined(LIBC_TARGET_ARCH_IS_AARCH64) && \
28
+ (defined(LIBC_TARGET_CPU_HAS_SVE) || defined(__ARM_NEON))
29
#include "src/string/memory_utils/aarch64/inline_strlen.h"
30
31
0 commit comments