2015-11-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
* lib/target-supports.exp
(check_effective_target_arm_neon_ok_nocache): Add check
for M profile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230653
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-11-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * lib/target-supports.exp
+ (check_effective_target_arm_neon_ok_nocache): Add check
+ for M profile.
+
2015-11-20 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/68373
#endif
/* Avoid the case where a test adds -mfpu=neon, but the toolchain is
configured for -mcpu=arm926ej-s, for example. */
- #if __ARM_ARCH < 7
- #error Architecture too old for NEON.
+ #if __ARM_ARCH < 7 || __ARM_ARCH_PROFILE == 'M'
+ #error Architecture does not support NEON.
#endif
} "$flags"] } {
set et_arm_neon_flags $flags