From e4371462d33d73485ddd7ea29ab86cbb794afa49 Mon Sep 17 00:00:00 2001 From: Ira Rosen Date: Thu, 26 Jun 2008 06:19:19 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/vect.exp | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6a6d1db7e38..23851387b7d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-26 Ira Rosen + + * gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case + of -O3. + 2008-06-26 Ira Rosen PR target/36510 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 -- 2.30.2