diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3f74ced77c7..ce0c2c669b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-07-02 Ira Rosen + + * gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c: Add noinline + attribute to main1(). + * gcc.dg/vect/costmodel/spu/costmodel-vect-33.c: Increase the loop + bound in order to make it worth to vectorize the loop. + * gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Likewise. + 2008-07-01 Jerry DeLisle PR fortran/36676 diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-33.c b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-33.c index df92ceb9e81..3e0db3d84d7 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-33.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-33.c @@ -4,7 +4,7 @@ #include #include "../../tree-vect.h" -#define N 16 +#define N 17 struct test { char ca[N]; }; diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c index 71f3977b16a..3aac4c90005 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c @@ -3,20 +3,20 @@ #include #include "../../tree-vect.h" -#define N 8 +#define N 16 #define OFF 4 /* Check handling of accesses for which the "initial condition" - the expression that represents the first location accessed - is more involved than just an ssa_name. */ -int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10}; +int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 0, 1, 3, 5, 7, 11, 13, 17}; int main1 (int *pib) { int i; int ia[N+OFF]; - int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10}; + int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 0, 1, 3, 5, 7, 11, 13, 17}; for (i = OFF; i < N; i++) { diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c index e01b67e48e1..af694a36dfd 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c @@ -6,7 +6,7 @@ #define N 26 int a[N]; -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int s = X; int i;