]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Add T-Head FMemIdx vendor extension
authorChristoph Müllner <christoph.muellner@vrull.eu>
Tue, 28 Jun 2022 15:44:57 +0000 (17:44 +0200)
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>
Thu, 22 Sep 2022 16:06:09 +0000 (18:06 +0200)
commitf511f80fa3fcaf6bcbe727fb902b8bd5ec8f9c20
tree6958b2ab3024e997f728a7811ea0099a5f30df3f
parent4041e11db3ec3611921d10150572a92689aa3154
RISC-V: Add T-Head FMemIdx vendor extension

T-Head has a range of vendor-specific instructions.
Therefore it makes sense to group them into smaller chunks
in form of vendor extensions.

This patch adds the XTheadFMemIdx extension, a collection of
T-Head-specific floating-point memory access instructions.
The 'th' prefix and the "XTheadFMemIdx" extension are documented
in a PR for the RISC-V toolchain conventions ([1]).

[1] https://github.com/riscv-non-isa/riscv-toolchain-conventions/pull/19

Co-developed-by: Lifang Xia <lifang_xia@linux.alibaba.com>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
bfd/elfxx-riscv.c
gas/doc/c-riscv.texi
gas/testsuite/gas/riscv/x-thead-fmemidx-fail.d [new file with mode: 0644]
gas/testsuite/gas/riscv/x-thead-fmemidx-fail.l [new file with mode: 0644]
gas/testsuite/gas/riscv/x-thead-fmemidx-fail.s [new file with mode: 0644]
gas/testsuite/gas/riscv/x-thead-fmemidx.d [new file with mode: 0644]
gas/testsuite/gas/riscv/x-thead-fmemidx.s [new file with mode: 0644]
include/opcode/riscv-opc.h
include/opcode/riscv.h
opcodes/riscv-opc.c