summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/vect.exp
diff options
context:
space:
mode:
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-26 06:19:19 +0000
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-26 06:19:19 +0000
commitd268d16ebda0fccdd1a4f9b92ea639797bc38be7 (patch)
treecb405f7300fe69364abef58773cdc4563126928c /gcc/testsuite/gcc.dg/vect/vect.exp
parent94a8b10423c8c3c6dff00cf557d4e341aba23d95 (diff)
downloadgcc-d268d16ebda0fccdd1a4f9b92ea639797bc38be7.tar.gz
* gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case
of -O3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137141 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect.exp')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect.exp b/gcc/testsuite/gcc.dg/vect/vect.exp
index 2fb14b1b08e..e67b2e4b467 100644
--- a/gcc/testsuite/gcc.dg/vect/vect.exp
+++ b/gcc/testsuite/gcc.dg/vect/vect.exp
@@ -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