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