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