diff --git a/Source/StatisticsFunctions/arm_mse_f64.c b/Source/StatisticsFunctions/arm_mse_f64.c index 9f681eea..8937de73 100755 --- a/Source/StatisticsFunctions/arm_mse_f64.c +++ b/Source/StatisticsFunctions/arm_mse_f64.c @@ -111,8 +111,7 @@ void arm_mse_f64( #endif #endif -#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) && \ - defined(ARM_MATH_NEON) && defined(__aarch64__) +#if defined(__clang__) && defined(ARM_MATH_NEON) && defined(__aarch64__) #pragma clang loop vectorize(enable) unroll(disable) #endif while (blkCnt > 0U)