Skip to content

Commit

Permalink
[ARM] Disable neon testing for armv7-m
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ktkachov committed Nov 20, 2015
1 parent f25fac5 commit 9197c6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/lib/target-supports.exp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9197c6f

Please sign in to comment.