blob: b5667cce74c95c36b26438caad836d74d1c3722a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O2 -fno-common" } */
/* { dg-final { scan-assembler-not "movt" } } */
/* { dg-final { scan-assembler-not "and" } } */
/* { dg-final { scan-assembler "lsl" } } */
int
tst (int i)
{
return (i & (1<<21)) ? 6 : 9;
}
|