From: Ira Rosen Date: Thu, 26 Jun 2008 06:19:19 +0000 (+0000) Subject: vect.exp: Run tests with -funroll-loops for SPU in case of -O3. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4371462d33d73485ddd7ea29ab86cbb794afa49;p=gcc.git 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 --- 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