diff options
| author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 07:04:18 +0000 |
|---|---|---|
| committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-02 07:04:18 +0000 |
| commit | 369619d4c5c4971cbb0343e70c6febd1b50a586e (patch) | |
| tree | f5804822730896d509f606550ac9bf8d59b9c500 | |
| parent | c0b4d131c6adb06c53eafd3d48c4f58fdbb36fc1 (diff) | |
| download | ppe42-gcc-369619d4c5c4971cbb0343e70c6febd1b50a586e.tar.gz ppe42-gcc-369619d4c5c4971cbb0343e70c6febd1b50a586e.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137342 138bc75d-0d04-0410-961f-82ee72b054a4
4 files changed, 13 insertions, 5 deletions
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 <irar@il.ibm.com> + + * 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 <jvdelisle@gcc.gnu.org> 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 <stdarg.h> #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 <stdarg.h> #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; |

