* lib/target/supports.exp

(check_effective_target_arm_v8_neon_ok_nocache): Check for armv8
	or later.

From-SVN: r213866
This commit is contained in:
Janis Johnson 2014-08-12 15:00:26 +00:00 committed by Janis Johnson
parent 996682da85
commit 689ff566fb
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,9 @@
2014-08-12 Janis Johnson <janisjo@codesourcery.com>
* lib/target/supports.exp
(check_effective_target_arm_v8_neon_ok_nocache): Check for armv8
or later.
* gcc.dg/pr59418.c: Don't add ARM options for a Thumb1 multilib.
* gcc.target/arm/neon-vext-execute.c: Skip if the test won't run

View file

@ -2578,6 +2578,9 @@ proc check_effective_target_arm_v8_neon_ok_nocache { } {
if { [check_effective_target_arm32] } {
foreach flags {"" "-mfloat-abi=softfp" "-mfpu=neon-fp-armv8" "-mfpu=neon-fp-armv8 -mfloat-abi=softfp"} {
if { [check_no_compiler_messages_nocache arm_v8_neon_ok object {
#if __ARM_ARCH < 8
#error not armv8 or later
#endif
#include "arm_neon.h"
void
foo ()