Debian Codegraph @

gcc/testsuite/gcc.target/i386/bt-mask-1.c

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