aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/csky/and1.c
blob: 14ce11acb8d77b1e14888ce7292c51b0b267385a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-csky-options "-O1" } */

/* Test special code generation patterns for bit operators.  */

int and1 (int x)
{
  return x & 0xfff7ffff;
}

/* { dg-final { scan-assembler "bclri" } } */