* testsuite/lib/target-supports.exp
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2008 06:31:16 +0000 (06:31 +0000)
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

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

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

index 2385138..d2df699 100644 (file)
@@ -1,5 +1,11 @@
 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
        of -O3.
 
index 223ee16..ecca421 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
        }
     }