Commit 689ff566 by Janis Johnson Committed by Janis Johnson

* lib/target/supports.exp

	(check_effective_target_arm_v8_neon_ok_nocache): Check for armv8
	or later.

From-SVN: r213866
parent 996682da
2014-08-12 Janis Johnson <janisjo@codesourcery.com> 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.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 * gcc.target/arm/neon-vext-execute.c: Skip if the test won't run
......
...@@ -2578,6 +2578,9 @@ proc check_effective_target_arm_v8_neon_ok_nocache { } { ...@@ -2578,6 +2578,9 @@ proc check_effective_target_arm_v8_neon_ok_nocache { } {
if { [check_effective_target_arm32] } { if { [check_effective_target_arm32] } {
foreach flags {"" "-mfloat-abi=softfp" "-mfpu=neon-fp-armv8" "-mfpu=neon-fp-armv8 -mfloat-abi=softfp"} { 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 { [check_no_compiler_messages_nocache arm_v8_neon_ok object {
#if __ARM_ARCH < 8
#error not armv8 or later
#endif
#include "arm_neon.h" #include "arm_neon.h"
void void
foo () foo ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment