Commit e4371462 by Ira Rosen Committed by Ira Rosen

vect.exp: Run tests with -funroll-loops for SPU in case of -O3.


	* gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case
	of -O3.

From-SVN: r137141
parent 8cdf0bd0
2008-06-26 Ira Rosen <irar@il.ibm.com> 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 PR target/36510
* gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop * gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop
bound. bound.
......
...@@ -245,6 +245,9 @@ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/Os-vect-*.\[cS\]]] \ ...@@ -245,6 +245,9 @@ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/Os-vect-*.\[cS\]]] \
# With -O3 # With -O3
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
lappend DEFAULT_VECTCFLAGS "-O3" lappend DEFAULT_VECTCFLAGS "-O3"
if [istarget "spu-*-*"] {
lappend DEFAULT_VECTCFLAGS "-funroll-loops"
}
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/O3-*.\[cS\]]] \ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/O3-*.\[cS\]]] \
"" $DEFAULT_VECTCFLAGS "" $DEFAULT_VECTCFLAGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment