(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arc/
and-cnst-size.c
       1  /* Tests to check if and instructions are emitted efficiently.  */
       2  /* { dg-require-effective-target codedensity } */
       3  /* { dg-options "-Os" } */
       4  
       5  int check_bclr (int a)
       6  {
       7    return a & (~0x40);
       8  }
       9  
      10  int check_bmskn (int a)
      11  {
      12    return a & (-128);
      13  }
      14  
      15  /* { dg-final { scan-assembler "bclr_s" } } */
      16  /* { dg-final { scan-assembler "bmskn" } } */