From a8d2a31d2f96fb50569d6439083762ffd48691cd Mon Sep 17 00:00:00 2001 From: Gabriel Wang Date: Sat, 23 May 2026 14:54:44 +0800 Subject: [PATCH] Minor update --- include/SDL3/SDL_intrin.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/SDL3/SDL_intrin.h b/include/SDL3/SDL_intrin.h index e054a5ed5d..4136c3ca97 100644 --- a/include/SDL3/SDL_intrin.h +++ b/include/SDL3/SDL_intrin.h @@ -247,9 +247,11 @@ _m_prefetch(void *__P) # define SDL_NEON_INTRINSICS 1 # include #endif -#if defined(__ARM_FEATURE_SVE2) && !defined(SDL_DISABLE_SVE2) +#if !defined(SDL_DISABLE_SVE2) # define SDL_SVE2_INTRINSICS 1 -# include +# if defined(__ARM_FEATURE_SVE) +# include +# endif #endif #else @@ -294,9 +296,9 @@ _m_prefetch(void *__P) # elif defined(__ARM_ARCH) && (__ARM_ARCH >= 8) && (defined(__aarch64__) || defined(_M_ARM64)) && \ defined(__has_include) && __has_include() # define SDL_SVE2_INTRINSICS 1 -# if defined(__ARM_FEATURE_SVE) -# include -# endif +# if defined(__ARM_FEATURE_SVE) +# include +# endif # endif #endif #endif /* compiler version */