diff --git a/arm-neon.S b/arm-neon.S index 4db78ce..19c30ad 100644 --- a/arm-neon.S +++ b/arm-neon.S @@ -21,7 +21,7 @@ * DEALINGS IN THE SOFTWARE. */ -#ifdef __arm__ +#if defined(__arm__) && defined(__ARM_ARCH_ISA_ARM) .text .fpu neon diff --git a/asm-opt.c b/asm-opt.c index 9da4596..eba1183 100644 --- a/asm-opt.c +++ b/asm-opt.c @@ -202,7 +202,7 @@ bench_info *get_asm_framebuffer_benchmarks(void) return empty; } -#elif defined(__arm__) +#elif defined(__arm__) && defined(__ARM_ARCH_ISA_ARM) #include "arm-neon.h"