1 /* { dg-require-effective-target vect_float } */
8 unsigned short usb
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,65533,65530,65527,65524,65521,65518,65515,65512,65509,65506,65503,65500,65497,65494,65491};
11 __attribute__ ((noinline
)) int main1 ()
15 /* unsigned short -> float */
16 for (i
= 0; i
< N
; i
++)
18 fa
[i
] = (float) usb
[i
];
22 for (i
= 0; i
< N
; i
++)
24 if (fa
[i
] != (float) usb
[i
])
38 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_intfloat_cvt } } } */
39 /* { dg-final { cleanup-tree-dump "vect" } } */