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
This commit is contained in:
Ira Rosen 2008-06-26 06:19:19 +00:00 committed by Ira Rosen
parent 8cdf0bd0cb
commit e4371462d3
2 changed files with 8 additions and 0 deletions

View 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

View 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