diff --git a/src/core.c b/src/core.c index aba44542..a9ba1ee8 100644 --- a/src/core.c +++ b/src/core.c @@ -763,7 +763,8 @@ static __always_inline void atomic_yield(void) { #else __asm__ __volatile__("hint @pause"); #endif -#elif defined(__arm__) || defined(__aarch64__) +#elif defined(__aarch64__) || (defined(__ARM_ARCH) && __ARM_ARCH > 6) || \ + defined(__ARM_ARCH_6K__) #ifdef __CC_ARM __yield(); #else