]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
target-supports.exp (check_effective_target_vect_widen_mult_qi_to_hi, [...]): Check...
authorJanis Johnson <janisjo@codesourcery.com>
Tue, 18 Sep 2012 19:46:01 +0000 (19:46 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 18 Sep 2012 19:46:01 +0000 (19:46 +0000)
* lib/target-supports.exp
(check_effective_target_vect_widen_mult_qi_to_hi,
check_effective_target_vect_widen_mult_hi_to_si,
check_effective_target_vect_widen_mult_qi_to_hi_pattern,
check_effective_target_vect_widen_mult_hi_to_si_pattern,
check_effective_target_vect_pack_trunc,
check_effective_target_vect_unpack,
check_effective_target_vect_multiple_sizes): Check arm_neon_ok
instead of arm_none.

From-SVN: r191446

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

index 7f644cf810f7ca8ef3aca060c6796c5436e143b9..b9101f337421611bd7b695e8e2ff81be0b5b98d3 100644 (file)
@@ -1,5 +1,15 @@
 2012-09-18  Janis Johnson  <janisjo@codesourcery.com>
 
+       * lib/target-supports.exp
+       (check_effective_target_vect_widen_mult_qi_to_hi,
+       check_effective_target_vect_widen_mult_hi_to_si,
+       check_effective_target_vect_widen_mult_qi_to_hi_pattern,
+       check_effective_target_vect_widen_mult_hi_to_si_pattern,
+       check_effective_target_vect_pack_trunc,
+       check_effective_target_vect_unpack,
+       check_effective_target_vect_multiple_sizes): Check arm_neon_ok
+       instead of arm_none.
+
        * gcc.dg/vect/pr52298.c: Remove "dg-do run".
 
 2012-09-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
index 8f793b7e50995b45d3ae5ef4d232afca159980af..9098285267fc23c608d8bcd67557020482c39381 100644 (file)
@@ -3097,7 +3097,7 @@ proc check_effective_target_vect_widen_mult_qi_to_hi { } {
            set et_vect_widen_mult_qi_to_hi_saved 0
        }
         if { [istarget powerpc*-*-*]
-              || ([istarget arm*-*-*] && [check_effective_target_arm_neon]) } {
+              || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
             set et_vect_widen_mult_qi_to_hi_saved 1
         }
     }
@@ -3131,7 +3131,7 @@ proc check_effective_target_vect_widen_mult_hi_to_si { } {
              || [istarget ia64-*-*]
              || [istarget i?86-*-*]
              || [istarget x86_64-*-*]
-              || ([istarget arm*-*-*] && [check_effective_target_arm_neon]) } {
+              || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
             set et_vect_widen_mult_hi_to_si_saved 1
         }
     }
@@ -3152,7 +3152,7 @@ proc check_effective_target_vect_widen_mult_qi_to_hi_pattern { } {
     } else {
         set et_vect_widen_mult_qi_to_hi_pattern_saved 0
         if { [istarget powerpc*-*-*]
-              || ([istarget arm*-*-*] && [check_effective_target_arm_neon]) } {
+              || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
             set et_vect_widen_mult_qi_to_hi_pattern_saved 1
         }
     }
@@ -3177,7 +3177,7 @@ proc check_effective_target_vect_widen_mult_hi_to_si_pattern { } {
               || [istarget ia64-*-*]
               || [istarget i?86-*-*]
               || [istarget x86_64-*-*]
-              || ([istarget arm*-*-*] && [check_effective_target_arm_neon]) } {
+              || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
             set et_vect_widen_mult_hi_to_si_pattern_saved 1
         }
     }
@@ -3307,7 +3307,7 @@ proc check_effective_target_vect_pack_trunc { } {
              || [istarget i?86-*-*]
              || [istarget x86_64-*-*]
              || [istarget spu-*-*]
-             || ([istarget arm*-*-*] && [check_effective_target_arm_neon]
+             || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]
                 && [check_effective_target_arm_little_endian]) } {
             set et_vect_pack_trunc_saved 1
         }
@@ -3333,7 +3333,7 @@ proc check_effective_target_vect_unpack { } {
              || [istarget x86_64-*-*] 
              || [istarget spu-*-*]
              || [istarget ia64-*-*]
-             || ([istarget arm*-*-*] && [check_effective_target_arm_neon]
+             || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]
                 && [check_effective_target_arm_little_endian]) } {
             set et_vect_unpack_saved 1
         }
@@ -3751,7 +3751,7 @@ proc check_effective_target_vect_multiple_sizes { } {
     global et_vect_multiple_sizes_saved
 
     set et_vect_multiple_sizes_saved 0
-    if { ([istarget arm*-*-*] && [check_effective_target_arm_neon]) } {
+    if { ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
        set et_vect_multiple_sizes_saved 1
     }
     if { ([istarget x86_64-*-*] || [istarget i?86-*-*]) } {