summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/csky/and3b.c
blob: 127207dcf307921d0396d9cadd3c0860c215e841 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-csky-options "-mcpu=ck810f -O1" } */

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

int and3 (int x)
{
  return x & 0x000fffff;
}

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