[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / fcvt_int_float_double2.c
blob7791b2213fbef2924c093392175d82c41f0fc3ea
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 double
5 foo (int x)
7 return (double) (float) (x | (int) 0xfe000000);
10 /* { dg-final { scan-assembler {\tscvtf\ts[0-9]*, w[0-9]*} } } */
11 /* { dg-final { scan-assembler {\tfcvt\td0, s[0-9]*} } } */