1 /* { dg-require-effective-target vect_float } */
6 float image[N][N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
9 /* Outer-loop vectorization with non-consecutive access. Not vectorized yet. */
11 __attribute__ ((noinline)) void
16 for (i = 0; i < N/2; i++) {
18 for (j = 0; j < N; j++) {
19 diff += image[j][2*i];
31 for (i = 0; i < N; i++) {
32 for (j = 0; j < N; j++) {
39 for (i = 0; i < N/2; i++) {
41 for (j = 0; j < N; j++) {
42 diff += image[j][2*i];
51 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail *-*-* } } } */
52 /* { dg-final { scan-tree-dump-times "strided access in outer loop" 2 "vect" { target { ! vect_multiple_sizes } } } } */
53 /* { dg-final { scan-tree-dump-times "strided access in outer loop" 4 "vect" { target vect_multiple_sizes } } } */
54 /* { dg-final { cleanup-tree-dump "vect" } } */