2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / bt-mask-1.c
blobbdcfd558a1b8af6245a4c6ca78f8496ad40dd7cb
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=core2" } */
4 void foo (void);
6 int test (int x, int n)
8 n &= 0x1f;
10 if (x & (0x01 << n))
11 foo ();
13 return 0;
16 /* { dg-final { scan-assembler-not "and\[lq\]\[ \t\]" } } */