RISC-V: Gate opcode tables by enum rather than string.
authorJim Wilson <jimw@sifive.com>
Wed, 18 Sep 2019 00:59:08 +0000 (17:59 -0700)
committerJim Wilson <jimw@sifive.com>
Wed, 18 Sep 2019 00:59:08 +0000 (17:59 -0700)
commit7e9ad3a35cde2342e07c34345d5ee671ea8aeeb4
tree5e7c5bf918a812bd4b385addf9fe10b616e10f9c
parent491144b5e21bbfd41969c175aebb663976f59058
RISC-V: Gate opcode tables by enum rather than string.

Generalize opcode arch dependencies so that we can support the
overlapping B extension Zb* subsets.

2019-09-17  Maxim Blinov  <maxim.blinov@embecosm.com>
gas/
* config/tc-riscv.c (riscv_multi_subset_supports): Handle
insn_class enum rather than subset char string.
(riscv_ip): Update call to riscv_multi_subset_supports.
include/
* opcode/riscv.h (riscv_insn_class): New enum.
* opcode/riscv.h (struct riscv_opcode): Change
subset field to insn_class field.
opcodes/
* riscv-opc.c (riscv_opcodes): Change subset field
to insn_class field for all instructions.
(riscv_insn_types): Likewise.
gas/ChangeLog
gas/config/tc-riscv.c
include/ChangeLog
include/opcode/riscv.h
opcodes/ChangeLog
opcodes/riscv-opc.c
This page took 0.026294 seconds and 4 git commands to generate.