Commit 61ce048a by Ira Rosen Committed by Ira Rosen

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
parent 8caa2436
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> 2007-09-09 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/uc1.ads: Compile with -gnatws. * gnat.dg/specs/uc1.ads: Compile with -gnatws.
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
#include <stdlib.h> #include <stdlib.h>
#include "../../tree-vect.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 i,k;
int maxj; int maxj;
......
...@@ -15,7 +15,7 @@ float fir_out[N]; ...@@ -15,7 +15,7 @@ float fir_out[N];
because the compiler doesn't realize that the inner-loop executes at 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 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. */ to skip the inner-loop in case it doesn't execute. */
void foo (){ __attribute__ ((noinline)) void foo (){
int i,j,k; int i,j,k;
float diff; float diff;
...@@ -35,7 +35,7 @@ void foo (){ ...@@ -35,7 +35,7 @@ void foo (){
} }
/* Vectorized. Changing misalignment in the inner-loop. */ /* Vectorized. Changing misalignment in the inner-loop. */
void fir (){ __attribute__ ((noinline)) void fir (){
int i,j,k; int i,j,k;
float diff; float diff;
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
#include <stdlib.h> #include <stdlib.h>
#include "../../tree-vect.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 i,k;
int maxj; int maxj;
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
#include <stdlib.h> #include <stdlib.h>
#include "../../tree-vect.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 i,k;
int maxj; int maxj;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment