diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-05 10:41:25 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-05 10:41:25 +0000 |
commit | 45f1556ee08108c239d8b4f7c00f22646a1ad879 (patch) | |
tree | d734a85fd429090835af28ab289244738137244a /gcc/testsuite/gcc.dg/vect/costmodel/i386 | |
parent | 4a59bf841711631325f157896b52ad343446db84 (diff) | |
download | gcc-45f1556ee08108c239d8b4f7c00f22646a1ad879.tar.gz |
* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Skip
statements that are not vectorized.
* tree-vect-stmts.c (vect_get_load_cost): Update the value stored
in INSIDE_COST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161827 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/costmodel/i386')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c index 5627c265523..d5c0a1a1331 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c @@ -13,7 +13,7 @@ interp_pitch(float *exc, float *interp, int pitch, int len) for (i=0;i<len;i++) { float tmp = 0; - for (k=0;k<7;k++) + for (k=0;k<12;k++) { tmp += exc[i-pitch+k+maxj-6]; } @@ -23,7 +23,7 @@ interp_pitch(float *exc, float *interp, int pitch, int len) int main() { - float *exc = calloc(126,sizeof(float)); + float *exc = calloc(136,sizeof(float)); float *interp = calloc(80,sizeof(float)); int pitch = -35; |