1 /* { dg-require-effective-target vect_int } */
2 /* { dg-add-options bind_pic_locally } */
3 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
73 __attribute__ ((noinline
)) int
79 for (i
= 0; i
< N
; i
++)
81 ia
[i
] = ib
[i
] & ic
[i
];
86 for (i
= 0; i
<N
; i
++)
88 if (ia
[i
] != (ib
[i
] & ic
[i
]))
94 for (i
= 0; i
< N
; i
++)
96 ca
[i
] = cb
[i
] & cc
[i
];
101 for (i
= 0; i
<N
; i
++)
103 if (ca
[i
] != (cb
[i
] & cc
[i
]))
109 for (i
= 0; i
< N
; i
++)
111 sa
[i
] = sb
[i
] & sc
[i
];
116 for (i
= 0; i
<N
; i
++)
118 if (sa
[i
] != (sb
[i
] & sc
[i
]))
132 /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
133 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
134 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */