RISC-V: Make sure rv32q conflict won't affect the zfa gas testcases.
authorNelson Chu <nelson@rivosinc.com>
Wed, 18 Oct 2023 00:45:28 +0000 (08:45 +0800)
committerNelson Chu <nelson@rivosinc.com>
Wed, 18 Oct 2023 01:48:35 +0000 (09:48 +0800)
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
gas/testsuite/gas/riscv/zfa.d

index 8fbe06c40c0a4446bcf1247b4b2e7bb2e574e319..cc9b9809585af0dec108d94d78e4d4fe3ce945d5 100644 (file)
@@ -1,4 +1,4 @@
-#as: -march=rv32iq_zfa_zvfh
+#as: -march=rv32iq2p2_zfa_zvfh
 #objdump: -d
 
 .*:[   ]+file format .*
index cbfc72e603644b4b7472734f6b499fc6f0fa6cbf..09c26dd32b1693972edfd561d3318b26f29354cb 100644 (file)
@@ -1,4 +1,4 @@
-#as: -march=rv32iq_zfa_zfh
+#as: -march=rv32iq2p2_zfa_zfh
 #objdump: -d
 
 .*:[   ]+file format .*