1 /* { dg-add-options vect_early_break } */
2 /* { dg-require-effective-target vect_early_break_hw } */
3 /* { dg-require-effective-target vect_int } */
5 /* { dg-additional-options "-Ofast --param vect-partial-vector-usage=2" } */
6 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target { ! "arm*-*-*" } } } } */
13 float vect_a
[N
] = { 5.1f
, 4.2f
, 8.0f
, 4.25f
, 6.5f
};
14 unsigned vect_b
[N
] = { 0 };
16 __attribute__ ((noinline
, noipa
))
17 unsigned test4(double x
)
20 for (int i
= 0; i
< N
; i
++)
39 if (vect_b
[2] != 0 && vect_b
[1] == 0)