No RVV support for big-endian causes self-tests to fail during build. Disabling them is a temporary fix.
Signed-off-by: Aleksa Paunovic <[email protected]> gcc/ChangeLog: * config/riscv/riscv-selftests.cc (riscv_run_selftests): Disable self-tests --- gcc/config/riscv/riscv-selftests.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/config/riscv/riscv-selftests.cc b/gcc/config/riscv/riscv-selftests.cc index d8cc2858541a..52d5b20837a5 100644 --- a/gcc/config/riscv/riscv-selftests.cc +++ b/gcc/config/riscv/riscv-selftests.cc @@ -528,6 +528,9 @@ namespace selftest { void riscv_run_selftests (void) { + // FIXME: V extension does not work on RISC-V BE + if (TARGET_BIG_ENDIAN) + return; if (!BYTES_PER_RISCV_VECTOR.is_constant ()) /* We can know POLY value = [4, 4] when BYTES_PER_RISCV_VECTOR is !is_constant () since we can use csrr vlenb and scalar shift -- 2.43.0
