vect.exp: Run tests with -funroll-loops for SPU in case of -O3.
authorIra Rosen <irar@il.ibm.com>
Thu, 26 Jun 2008 06:19:19 +0000 (06:19 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Thu, 26 Jun 2008 06:19:19 +0000 (06:19 +0000)
* gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case
of -O3.

From-SVN: r137141

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect.exp

index 6a6d1db7e38b12a66e3883ee1266ba210a788e8f..23851387b7de6b32ec830370735d9d952735bfce 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2008-06-26  Ira Rosen  <irar@il.ibm.com>
 
        PR target/36510
index 2fb14b1b08ea041414f65784d3c61547a212a84c..e67b2e4b4675c9d412f910718fbd7df4be2c3e65 100644 (file)
@@ -245,6 +245,9 @@ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/Os-vect-*.\[cS\]]]  \
 # With -O3
 set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
 lappend DEFAULT_VECTCFLAGS "-O3"
+if  [istarget "spu-*-*"] {
+  lappend DEFAULT_VECTCFLAGS "-funroll-loops"
+}
 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/O3-*.\[cS\]]]  \
         "" $DEFAULT_VECTCFLAGS