2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / bt-2.c
blob34fa829e406868953ea7cefa841aeae4c8f88ffe
1 /* PR target/36473 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mtune=core2" } */
5 extern void foo (void);
7 int test(long x, long n)
9 if (x & ( (long)0x01 << n ))
10 foo ();
12 return 0;
15 /* { dg-final { scan-assembler "btl\[ \t\]" { target { ! lp64 } } } } */
16 /* { dg-final { scan-assembler "btq\[ \t\]" { target lp64 } } } */