Debian Codegraph @

gcc/testsuite/gcc.target/i386/bt-2.c

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