On Sun, 2025-01-19 at 20:42 +0800, Jin Ma wrote:
/* snip */
> diff --git a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c
> b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c
> new file mode 100644
> index 000000000000..33658b863514
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c
> @@ -0,0 +1,12 @@
> +/* { dg-do compileĀ { target { rv64 } } } */
> +/* { dg-options "-march=rv64gc_xtheadcondmov -mabi=lp64d -O2" } */
> +
> +__attribute__((noinline, noclone)) long long int
The attributes are useless as nothing is calling the function in the
tests.
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University