1 /* { dg-require-effective-target vect_condition } */
2 /* { dg-require-effective-target vect_float } */
11 float A
[N
] = {36,39,42,45,43,32,21,12,23,34,45,56,67,78,89,11};
12 float B
[N
] = {0,0,42,42,42,0,0,0,0,0,42,42,42,42,42,0};
14 extern void abort(void);
22 for (i
= 0; i
< 16; i
++)
23 A
[i
] = ( A
[i
] >= MAX
? MAX
: 0);
26 for (i
= 0; i
< N
; i
++)
33 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
34 /* { dg-final { cleanup-tree-dump "vect" } } */