(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
riscv/
zbb-srai-andn.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-march=rv64gc_zbb -mabi=lp64" } */
       3  /* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */
       4  
       5  long long foo0(long long a, long long b)
       6  {
       7    if (a >= 0)
       8      return b;
       9  
      10    return 0;
      11  }
      12  
      13  /* { dg-final { scan-assembler-times "srai\t" 1 } } */
      14  /* { dg-final { scan-assembler-times "andn\t" 1 } } */
      15