RISC-V: Fix RV32Q conflict
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sun, 27 Feb 2022 08:51:04 +0000 (17:51 +0900)
committerNelson Chu <nelson.chu@sifive.com>
Wed, 25 May 2022 03:19:59 +0000 (11:19 +0800)
commit51498ab9abc6122817428198e831d36923e293a4
tree0ecc61c2c36842aa6210468845c02a749c0c398d
parentdd4832bf3efc1bd1797a6b9188260692b8b0db52
RISC-V: Fix RV32Q conflict

This commit makes RV32 + 'Q' extension (version 2.2 or later) not
conflicting since this combination is no longer prohibited by the
specification.

bfd/ChangeLog:

* elfxx-riscv.c (riscv_parse_check_conflicts): Remove conflict
detection that prohibits RV32Q on 'Q' version 2.2 or later.

gas/ChangeLog:

* testsuite/gas/riscv/march-fail-rv32iq.d: Removed.
* testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
* testsuite/gas/riscv/march-fail-rv32iq2p0.d: New test
showing RV32IQ fails on 'Q' extension version 2.0.
* testsuite/gas/riscv/march-fail-rv32iq2p0.l: Likewise.
* testsuite/gas/riscv/march-fail-rv32iq2.d: Likewise.
* testsuite/gas/riscv/march-fail-rv32iq-isa-2p2.d: New test
showing RV32IQ fails on ISA specification version 2.2.
* testsuite/gas/riscv/march-ok-rv32iq2p2.d: New test
showing RV32IQ succesds on 'Q' extension version 2.2.
* testsuite/gas/riscv/march-ok-rv32iq-isa-20190608.d: New test
showing RV32IQ succesds on ISA specification 20190608.
bfd/elfxx-riscv.c
gas/testsuite/gas/riscv/march-fail-rv32iq-isa-2p2.d [new file with mode: 0644]
gas/testsuite/gas/riscv/march-fail-rv32iq.d [deleted file]
gas/testsuite/gas/riscv/march-fail-rv32iq.l [deleted file]
gas/testsuite/gas/riscv/march-fail-rv32iq2.d [new file with mode: 0644]
gas/testsuite/gas/riscv/march-fail-rv32iq2p0.d [new file with mode: 0644]
gas/testsuite/gas/riscv/march-fail-rv32iq2p0.l [new file with mode: 0644]
gas/testsuite/gas/riscv/march-ok-rv32iq-isa-20190608.d [new file with mode: 0644]
gas/testsuite/gas/riscv/march-ok-rv32iq2p2.d [new file with mode: 0644]