OSDN Git Service

* lib/target-supports.exp (check_effective_target_vect_condition):
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Feb 2012 11:00:21 +0000 (11:00 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Feb 2012 11:00:21 +0000 (11:00 +0000)
Return true for NEON.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184464 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3091af5..14fcb23 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-22  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * lib/target-supports.exp (check_effective_target_vect_condition):
+       Return true for NEON.
+
 2012-02-21  Kai Tietz  <ktietz@redhat.com>
 
        * gcc.dg/bf-ms-layout-3.c: Mark char typed bitfield
index 13f68df..7741f91 100644 (file)
@@ -3430,7 +3430,8 @@ proc check_effective_target_vect_condition { } {
             || [istarget ia64-*-*]
             || [istarget i?86-*-*]
             || [istarget spu-*-*]
-            || [istarget x86_64-*-*] } {
+            || [istarget x86_64-*-*]
+            || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
           set et_vect_cond_saved 1
        }
     }