target-supports.exp (check_effective_target_vect_condition): Return true for NEON.
authorUlrich Weigand <ulrich.weigand@linaro.org>
Wed, 22 Feb 2012 11:00:21 +0000 (11:00 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 22 Feb 2012 11:00:21 +0000 (11:00 +0000)
* lib/target-supports.exp (check_effective_target_vect_condition):
Return true for NEON.

From-SVN: r184464

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

index 3091af5c01f5ba8b3fe9f43ce96cd2970ddf7b87..14fcb23cd079a502ae09450f4aa39f6767709d13 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 13f68df49ed1a0f216ac87a1884c37011f018e8b..7741f91cf3061bfc4ba285fdbc2e2687cff28b6c 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
        }
     }