* testsuite/lib/target-supports.exp
authorIra Rosen <irar@il.ibm.com>
Thu, 26 Jun 2008 06:31:16 +0000 (06:31 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Thu, 26 Jun 2008 06:31:16 +0000 (06:31 +0000)
(check_effective_target_vect_cmdline_needed): Add SPU to the list
of targets that do not need command line argument to enable SIMD.

From-SVN: r137142

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

index 23851387b7de6b32ec830370735d9d952735bfce..d2df6992b1b5d714506bc16b85ddb9d380c69462 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-26  Ira Rosen  <irar@il.ibm.com>
+
+       * testsuite/lib/target-supports.exp
+       (check_effective_target_vect_cmdline_needed): Add SPU to the list
+       of targets that do not need command line argument to enable SIMD.
+
 2008-06-26  Ira Rosen  <irar@il.ibm.com>
 
        * gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case
index 223ee16d9ee9fba15c8ed2c5ea0a7c2d5595977d..ecca42118b2ce9a50b88305476d78fc073e4638e 100644 (file)
@@ -1130,7 +1130,8 @@ proc check_effective_target_vect_cmdline_needed { } {
                 && [check_effective_target_lp64])
             || ([istarget powerpc*-*-*]
                 && ([check_effective_target_powerpc_spe]
-                    || [check_effective_target_powerpc_altivec]))} {
+                    || [check_effective_target_powerpc_altivec]))
+             || [istarget spu-*-*] } {
           set et_vect_cmdline_needed_saved 0
        }
     }