diff options
author | Ira Rosen <irar@il.ibm.com> | 2007-09-09 12:32:18 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2007-09-09 12:32:18 +0000 |
commit | 61ce048a279aac6108021ad4db795318ed5d5c21 (patch) | |
tree | aa9f49850a3db674af77e25c0862bfbe1d8fc7cf /gcc | |
parent | 8caa24366467fc101de5ea2f23e0b408a4c3ef9e (diff) | |
download | gcc-61ce048a279aac6108021ad4db795318ed5d5c21.zip gcc-61ce048a279aac6108021ad4db795318ed5d5c21.tar.gz gcc-61ce048a279aac6108021ad4db795318ed5d5c21.tar.bz2 |
costmodel-vect-outer-fir.c: Add noinline attribute.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Add
noinline attribute.
* gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c,
gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c,
gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c:
Likewise.
From-SVN: r128297
Diffstat (limited to 'gcc')
5 files changed, 17 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 44830f5..3772b7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2007-09-09 Ira Rosen <irar@il.ibm.com> + + * gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Add + noinline attribute. + * gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c, + gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c, + gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: + Likewise. + 2007-09-09 Eric Botcazou <ebotcazou@adacore.com> * gnat.dg/specs/uc1.ads: Compile with -gnatws. diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c index 9347d05..00e631b 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c @@ -3,7 +3,8 @@ #include <stdlib.h> #include "../../tree-vect.h" -void interp_pitch(float *exc, float *interp, int pitch, int len) +__attribute__ ((noinline)) void +interp_pitch(float *exc, float *interp, int pitch, int len) { int i,k; int maxj; diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c index 336ed97..49a90980 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c @@ -15,7 +15,7 @@ float fir_out[N]; because the compiler doesn't realize that the inner-loop executes at least once (cause k<4), and so there's no need to create a guard code to skip the inner-loop in case it doesn't execute. */ -void foo (){ +__attribute__ ((noinline)) void foo (){ int i,j,k; float diff; @@ -35,7 +35,7 @@ void foo (){ } /* Vectorized. Changing misalignment in the inner-loop. */ -void fir (){ +__attribute__ ((noinline)) void fir (){ int i,j,k; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c index 9347d05..9a9f97e 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c @@ -3,7 +3,8 @@ #include <stdlib.h> #include "../../tree-vect.h" -void interp_pitch(float *exc, float *interp, int pitch, int len) +__attribute__ ((noinline)) void +interp_pitch(float *exc, float *interp, int pitch, int len) { int i,k; int maxj; diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c index 9347d05..9a9f97e 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c @@ -3,7 +3,8 @@ #include <stdlib.h> #include "../../tree-vect.h" -void interp_pitch(float *exc, float *interp, int pitch, int len) +__attribute__ ((noinline)) void +interp_pitch(float *exc, float *interp, int pitch, int len) { int i,k; int maxj; |