1 /* { dg-require-effective-target vect_int } */
11 int ib
[6] = {0,3,6,9,12,15};
15 /* Multidimensional array. Aligned. */
16 for (i
= 0; i
< 16; i
++)
18 for (j
= 0; j
< 4; j
++)
25 for (i
= 0; i
< 16; i
++)
27 for (j
= 0; j
< 4; j
++)
33 /* Multidimensional array. Aligned. */
34 for (i
= 0; i
< 16; i
++)
36 for (j
= 0; j
< 4; j
++)
41 for (i
= 0; i
< 16; i
++)
43 for (j
= 2; j
< 6; j
++)
50 /* Multidimensional array. Not aligned. */
51 for (i
= 0; i
< 16; i
++)
53 for (j
= 0; j
< 4; j
++)
60 for (i
= 0; i
< 16; i
++)
62 for (j
= 0; j
< 4; j
++)
64 if (ic
[2][1][6][j
+1] != 5)
79 /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */
80 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
81 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
82 /* { dg-final { cleanup-tree-dump "vect" } } */