[ARM] Disable neon testing for armv7-m

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.

From-SVN: r230653
This commit is contained in:
Andre Vieira 2015-11-20 11:49:23 +00:00 committed by Kyrylo Tkachov
parent 481efdd94d
commit 4bec4b1c9f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -2862,8 +2862,8 @@ proc check_effective_target_arm_neon_ok_nocache { } {
#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