Skip to content

Commit

Permalink
Fix pragma clang warning with gcc
Browse files Browse the repository at this point in the history
The test must work with armclang and XCode
  • Loading branch information
christophe0606 committed Aug 21, 2023
1 parent 5cbce30 commit 8f8bb8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/StatisticsFunctions/arm_mse_f64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8f8bb8d

Please sign in to comment.