mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
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:
parent
8cdf0bd0cb
commit
e4371462d3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user