1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=core2" } */
3
4 void foo (void);
5
test(long x,long n)6 int test (long x, long n)
7 {
8 n &= 0x3f;
9
10 if (x & ((long)0x01 << n))
11 foo ();
12
13 return 0;
14 }
15
16 /* { dg-final { scan-assembler-not "and\[lq\]\[ \t\]" } } */
17