From 4352c0ac04a67875b1642caed6a74dfb8719e425 Mon Sep 17 00:00:00 2001 From: Nelson Chu Date: Wed, 18 Oct 2023 08:45:28 +0800 Subject: [PATCH] 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. --- gas/testsuite/gas/riscv/zfa-zvfh.d | 2 +- gas/testsuite/gas/riscv/zfa.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 .* -- 2.30.2