(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
nios2/
andci.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -march=r2" } */
       3  
       4  /* Test generation of Nios II R2 "andci" and "andchi" instructions.  */
       5  
       6  unsigned int f (unsigned int a)
       7  {
       8    return a & 0xfffffff0;
       9  }
      10  
      11  unsigned int g (unsigned int b)
      12  {
      13    return b & 0xfff0ffff;
      14  }
      15  
      16  /* { dg-final { scan-assembler "\tandci\t.*" } }  */
      17  /* { dg-final { scan-assembler "\tandchi\t.*" } }  */
      18