diff options
| author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-26 06:19:19 +0000 |
|---|---|---|
| committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-26 06:19:19 +0000 |
| commit | d268d16ebda0fccdd1a4f9b92ea639797bc38be7 (patch) | |
| tree | cb405f7300fe69364abef58773cdc4563126928c | |
| parent | 94a8b10423c8c3c6dff00cf557d4e341aba23d95 (diff) | |
| download | ppe42-gcc-d268d16ebda0fccdd1a4f9b92ea639797bc38be7.tar.gz ppe42-gcc-d268d16ebda0fccdd1a4f9b92ea639797bc38be7.zip | |
* 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
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6a6d1db7e38..23851387b7d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 * gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop bound. 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 |

