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.
-#as: -march=rv32iq_zfa_zvfh
+#as: -march=rv32iq2p2_zfa_zvfh
#objdump: -d
.*:[ ]+file format .*
-#as: -march=rv32iq_zfa_zfh
+#as: -march=rv32iq2p2_zfa_zfh
#objdump: -d
.*:[ ]+file format .*