1 /* { dg-require-effective-target vect_int } */
14 __attribute__ ((noinline
))
18 struct tmp
*pp
= &sb
[off
];
21 for (i
= 0; i
< N
; i
++)
25 for (i
= 0; i
< N
; i
++)
27 if (pp
->ia
[i
] != ib
[i
])
41 /* The store is unaligned, the load is aligned. For targets that support unaligned
42 loads, peel to align the store and generate an unaligned access for the load.
43 For targets that don't support unaligned loads, version for the store. */
45 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
46 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { target { {! vect_no_align} && vector_alignment_reachable } } } } */
47 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail { { vect_no_align } || { { ! vector_alignment_reachable} || vect_hw_misalign } } } } } */
48 /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning." 1 "vect" { target { vect_no_align || { {! vector_alignment_reachable} && {! vect_hw_misalign} } } } } } */
49 /* { dg-final { cleanup-tree-dump "vect" } } */