1 /* { dg-require-effective-target vect_float } */
8 int int_arr
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
12 __attribute__ ((noinline
)) int main1 ()
16 for (i
= 0; i
< N
; i
++){
17 float_arr
[i
] = (float) int_arr
[i
];
22 for (i
= 0; i
< N
; i
++)
24 if (float_arr
[i
] != (float) int_arr
[i
])
40 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_intfloat_cvt } } } */
41 /* { dg-final { cleanup-tree-dump "vect" } } */