1 /* { dg-require-effective-target vect_int } */
2 /* { dg-add-options bind_pic_locally } */
12 __attribute__ ((noinline
))
17 /* Don't peel keeping one load and the store aligned. */
18 for (i
= 0; i
<= N
; i
++)
20 ia
[i
] = ib
[i
] + ib
[i
+5];
24 for (i
= 1; i
<= N
; i
++)
26 if (ia
[i
] != ib
[i
] + ib
[i
+5])
39 for (i
= 0; i
<= N
+6; i
++)
41 asm volatile ("" : "+r" (i
));
48 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { vect_no_align && { ! vect_hw_misalign } } } } } */
49 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { vect_no_align && { ! vect_hw_misalign } } } } } */
50 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */