From: Nelson Chu Date: Wed, 18 Oct 2023 00:45:28 +0000 (+0800) Subject: RISC-V: Make sure rv32q conflict won't affect the zfa gas testcases. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4352c0ac04a67875b1642caed6a74dfb8719e425;p=binutils-gdb.git RISC-V: Make sure rv32q conflict won't affect the zfa gas testcases. According to the commit 51498ab9abc6, the q extension was no longer allowed for rv32 since version 2.2. Therefore, make sure the version of q is larger than 2.2, in case the new extension conflict breaks the toolchain regressions, which built with the old -misa-spec. gas/ * testsuite/gas/riscv/zfa-zvfh.d: Set q to v2.2. * testsuite/gas/riscv/zfa.d: Likewise. --- diff --git a/gas/testsuite/gas/riscv/zfa-zvfh.d b/gas/testsuite/gas/riscv/zfa-zvfh.d index 8fbe06c40c0..cc9b9809585 100644 --- a/gas/testsuite/gas/riscv/zfa-zvfh.d +++ b/gas/testsuite/gas/riscv/zfa-zvfh.d @@ -1,4 +1,4 @@ -#as: -march=rv32iq_zfa_zvfh +#as: -march=rv32iq2p2_zfa_zvfh #objdump: -d .*:[ ]+file format .* diff --git a/gas/testsuite/gas/riscv/zfa.d b/gas/testsuite/gas/riscv/zfa.d index cbfc72e6036..09c26dd32b1 100644 --- a/gas/testsuite/gas/riscv/zfa.d +++ b/gas/testsuite/gas/riscv/zfa.d @@ -1,4 +1,4 @@ -#as: -march=rv32iq_zfa_zfh +#as: -march=rv32iq2p2_zfa_zfh #objdump: -d .*:[ ]+file format .*