File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 2222#include " src/__support/macros/attributes.h"
2323#include " src/__support/macros/config.h"
2424#include " src/__support/macros/optimization.h" // LIBC_UNLIKELY
25- #include " src/__support/macros/properties/cpu_features.h"
2625#include " src/string/memory_utils/inline_memcpy.h"
2726
28- // SVE implementation has fault safety
29- #if defined(LIBC_TARGET_CPU_HAS_SVE)
30- #include " src/string/memory_utils/aarch64/inline_strlen.h"
31- #elif defined(LIBC_COPT_STRING_UNSAFE_WIDE_READ)
27+ #if defined(LIBC_COPT_STRING_UNSAFE_WIDE_READ)
3228#if LIBC_HAS_VECTOR_TYPE
3329#include " src/string/memory_utils/generic/inline_strlen.h"
3430#elif defined(LIBC_TARGET_ARCH_IS_X86)
3733#include " src/string/memory_utils/aarch64/inline_strlen.h"
3834#else
3935namespace string_length_impl = LIBC_NAMESPACE::wide_read;
40- #endif // LIBC_TARGET_CPU_HAS_SVE
41- #endif // defined(LIBC_TARGET_CPU_HAS_SVE )
36+ #endif
37+ #endif // defined(LIBC_COPT_STRING_UNSAFE_WIDE_READ )
4238
4339namespace LIBC_NAMESPACE_DECL {
4440namespace internal {
You can’t perform that action at this time.
0 commit comments