RISC-V : Support bitmanip-0.93 ZBA/ZBB/ZBC instructions
authorKuan-Lin Chen <kuanlinchentw@gmail.com>
Wed, 24 Feb 2021 05:26:29 +0000 (13:26 +0800)
committerKuan-Lin Chen <kuanlinchentw@gmail.com>
Tue, 16 Mar 2021 06:38:19 +0000 (14:38 +0800)
commit80d49d6a1b865c84a8596da465db285cbbdfd1bb
treefaeb0b0ec9e25aa82aa833e359b9af812f9aac50
parent4ef6d2f424e07d3d4e15330c017d0adbefe59bda
RISC-V : Support bitmanip-0.93 ZBA/ZBB/ZBC instructions

bfd/
* elfxx-riscv.c (riscv_std_z_ext_strtab): Add zba, zbb and zbc.

gas/
* config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
(riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
* testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
* testsuite/gas/riscv/b-ext-64.d: Likewise.
* testsuite/gas/riscv/b-ext.s: Likewise.
* testsuite/gas/riscv/b-ext.d: Likewise.

include/
* opcode/riscv-opc.h: Support zba, zbb and zbc extensions.
* opcode/riscv.h (riscv_insn_class): Add INSN_CLASS_ZB*.

opcodes/
* riscv-opc.c (riscv_opcodes): Add zba, zbb and zbc instructions.
13 files changed:
bfd/ChangeLog
bfd/elfxx-riscv.c
gas/ChangeLog
gas/config/tc-riscv.c
gas/testsuite/gas/riscv/b-ext-64.d [new file with mode: 0644]
gas/testsuite/gas/riscv/b-ext-64.s [new file with mode: 0644]
gas/testsuite/gas/riscv/b-ext.d [new file with mode: 0644]
gas/testsuite/gas/riscv/b-ext.s [new file with mode: 0644]
include/ChangeLog
include/opcode/riscv-opc.h
include/opcode/riscv.h
opcodes/ChangeLog
opcodes/riscv-opc.c