Skip to content

Commit 8f8bb8d

Browse files
Fix pragma clang warning with gcc
The test must work with armclang and XCode
1 parent 5cbce30 commit 8f8bb8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Source/StatisticsFunctions/arm_mse_f64.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ void arm_mse_f64(
111111
#endif
112112
#endif
113113

114-
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) && \
115-
defined(ARM_MATH_NEON) && defined(__aarch64__)
114+
#if defined(__clang__) && defined(ARM_MATH_NEON) && defined(__aarch64__)
116115
#pragma clang loop vectorize(enable) unroll(disable)
117116
#endif
118117
while (blkCnt > 0U)

0 commit comments

Comments
 (0)