1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 double
5 foo (int x)
6 {
7 return (double) (float) ((x & -16) | (int) 0xf0000000);
8 }
9
10 /* { dg-final { scan-assembler {\tscvtf\td0, w[0-9]*} } } */