Debian Codegraph @

gcc/testsuite/gcc.target/csky/ck801-and.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "test is specific to ck801" { csky-*-* } { "*" } { "-mcpu=ck801" } } */
3 /* { dg-csky-options "-O1" } */
4
5 /* Test special code generation patterns for bit operators. */
6
7 int and3 (int x)
8 {
9 return x & 0x000fffff;
10 }
11
12 /* { dg-final { scan-assembler "lsli" } } */
13 /* { dg-final { scan-assembler "lsri" } } */