Debian Codegraph @

gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c

raw
1 /* { dg-do compile { target { rv64 } } } */
2 /* { dg-options "-march=rv64gc_xtheadcondmov -mabi=lp64d -O2" } */
3
4 long long int
5 foo (long long int x, long long int y)
6 {
7 if (((int) x | (int) y) != 0)
8 return 6;
9 return x + y;
10 }
11
12 /* { dg-final { scan-assembler-times {\msext\.w\M} 1 } } */