costmodel-vect-outer-fir.c: Add noinline attribute.
authorIra Rosen <irar@il.ibm.com>
Sun, 9 Sep 2007 12:32:18 +0000 (12:32 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Sun, 9 Sep 2007 12:32:18 +0000 (12:32 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-fast-math-vect-pr29925.c
gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c

index 44830f5d563e5d93a1fd4e116d6cfc636c847339..3772b7bbf3635c369ec3537a621e313c214a8f82 100644 (file)
@@ -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.
index 9347d05ea2d981d9beaf9e5287079fac3c7a5bba..00e631b1366eb1f42028a781eebdebb3d9219ec9 100644 (file)
@@ -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;
index 336ed9799e84bb05992761aefa4b8d78aca0cea2..49a909805a32f2c7acbd690dd94da4dcc1babecc 100644 (file)
@@ -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;
 
index 9347d05ea2d981d9beaf9e5287079fac3c7a5bba..9a9f97e802bee532d950d4e8b4608747cb76afe2 100644 (file)
@@ -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;
index 9347d05ea2d981d9beaf9e5287079fac3c7a5bba..9a9f97e802bee532d950d4e8b4608747cb76afe2 100644 (file)
@@ -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;