CMSIS-DSP: Improved automatic detection of MVE mode for working with autovectorization.
@@ -398,6 +398,8 @@ extern "C"
#include <arm_neon.h>
#endif
+#if !defined(ARM_MATH_AUTOVECTORIZE)
+
#if __ARM_FEATURE_MVE
#if !defined(ARM_MATH_MVEI)
#define ARM_MATH_MVEI
@@ -413,6 +415,8 @@ extern "C"
#endif
#endif
+#endif /*!defined(ARM_MATH_AUTOVECTORIZE)*/
+
#if defined (ARM_MATH_HELIUM)
#if !defined(ARM_MATH_MVEF)
#define ARM_MATH_MVEF
