]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* lib/target/supports.exp
authorJanis Johnson <janisjo@codesourcery.com>
Tue, 12 Aug 2014 15:00:26 +0000 (15:00 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 12 Aug 2014 15:00:26 +0000 (15:00 +0000)
(check_effective_target_arm_v8_neon_ok_nocache): Check for armv8
or later.

From-SVN: r213866

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index b7f0495af14d00a0ecff68fa4168a644447dd233..52fdcb5f50ebe4932bc30b6e47e9d01c6b36e535 100644 (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
index b14a8403590f834b7311ce0afdc6cb17b3adca7d..c03370da28c93168713888d52bc6105f99f69b79 100644 (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 ()