1 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-add-options bind_pic_locally } */
72 __attribute__ ((noinline
)) int
78 for (i
= 0; i
< N
; i
++)
80 ia
[i
] = ib
[i
] ^ ic
[i
];
85 for (i
= 0; i
<N
; i
++)
87 if (ia
[i
] != (ib
[i
] ^ ic
[i
]))
93 for (i
= 0; i
< N
; i
++)
95 ca
[i
] = cb
[i
] ^ cc
[i
];
100 for (i
= 0; i
<N
; i
++)
102 if (ca
[i
] != (cb
[i
] ^ cc
[i
]))
108 for (i
= 0; i
< N
; i
++)
110 sa
[i
] = sb
[i
] ^ sc
[i
];
115 for (i
= 0; i
<N
; i
++)
117 if (sa
[i
] != (sb
[i
] ^ sc
[i
]))
131 /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
132 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
133 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */