* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr46091-5a.c
blob0fa2d9b7e9625bc4aed891839b4920b2b3474e56
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2" } */
4 long test_1 (long x, int n)
6 n &= 0x3f;
8 x &= ~((long)0x01 << n);
10 return x;
13 long test_2 (long x, int n)
15 n &= 0x3f;
17 x |= ((long)0x01 << n);
19 return x;
22 long test_3 (long x, int n)
24 n &= 0x3f;
26 x ^= ((long)0x01 << n);
28 return x;
31 /* { dg-final { scan-assembler-not "and\[lq\]\[ \t\]" } } */