[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:
parent
481efdd94d
commit
4bec4b1c9f
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue