From 465abbc0515d09c75f1e5e6f901ccadb6876d97e Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Sat, 25 Jun 2022 23:50:49 +1000 Subject: [PATCH] Don't enable ARMv6 features for ARMv6-m --- minimp3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimp3.h b/minimp3.h index 3220ae1..9fbd4d2 100644 --- a/minimp3.h +++ b/minimp3.h @@ -191,7 +191,7 @@ static int have_simd() #define HAVE_SIMD 0 #endif /* !defined(MINIMP3_NO_SIMD) */ -#if defined(__ARM_ARCH) && (__ARM_ARCH >= 6) && !defined(__aarch64__) && !defined(_M_ARM64) +#if defined(__ARM_ARCH) && (__ARM_ARCH >= 6) && !defined(__aarch64__) && !defined(_M_ARM64) && !defined(__ARM_ARCH_6M__) #define HAVE_ARMV6 1 static __inline__ __attribute__((always_inline)) int32_t minimp3_clip_int16_arm(int32_t a) {