1 /* { dg-require-effective-target vect_int } */
15 char b
[N
-1]; /* unaligned (offset 1B) */
16 char c
[N
]; /* aligned (offset NB) */
17 struct t d
; /* aligned (offset 2NB) */
18 struct t e
; /* unaligned (offset 2N+4N+4 B) */
27 for (i
= 0; i
< N
/2; i
++)
33 for (i
= 0; i
<N
/2; i
++)
40 for (i
= 0; i
< N
/2; i
++)
46 for (i
= 0; i
<N
/2; i
++)
53 for (i
= 0; i
< N
/2; i
++)
59 for (i
= 0; i
<N
/2; i
++)
66 for (i
= 0; i
< N
/2; i
++)
72 for (i
= 0; i
<N
/2; i
++)
88 /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */
89 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
90 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
91 /* { dg-final { cleanup-tree-dump "vect" } } */