1 /* PR rtl-optimization/45617 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 
f1(int x)5 int f1 (int x)
6 {
7   return (x >> 23) > 12;
8 }
f2(int x)9 int f2 (int x)
10 {
11   return x > ((13 << 23) - 1);
12 }
f3(int x)13 int f3 (int x)
14 {
15   return (x >> 23) >= 12;
16 }
f4(int x)17 int f4 (int x)
18 {
19   return x >= (12 << 23);
20 }
21 
22 /* { dg-final { scan-assembler-not "sarl" } } */
23