1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Go from four moves to two. */
9 return x
<= 0x1999999999999998;
15 return x
> 0xfefffffe;
21 return x
<= 0xfefffffe;
27 return x
>= 0xff000000;
33 return x
< 0xff000000;
36 /* Optimize the immediate in conditionals. */
50 return x
>= 0xff000000 ? 5 : -3;
53 /* baz produces one movk instruction. */
54 /* { dg-final { scan-assembler-times "movk" 1 } } */