[PATCH 0/2] Add RISC-V vendor extensions: XVentanaCondOps and XTheadCmo

Christoph Muellner cmuellner@gcc.gnu.org
Wed Apr 20 14:56:18 GMT 2022


This series introduces two vendor extensions:
* XVentanaCondOps
* XTheadCmo

Patch #1 is a resend of the patch that Philipp sent on Jan 9 ([1]).
It was reviewed by Kito earlier today (no other responses so far).
I've just rebased the patch and cleaned up all conflicts.

Patch #2 is my patch for T-Heads CMO instruction.
This patch depends on some changes from patch #1
(common code for vendor extension support).
I've announced to work on this end of March as part of the conversation
about Heiko Stübner's Linux patch ([2]).
There is a similar patch on the Binutils list from today, that
seems to be requested by Palmer Dabbelt (to whom I responded about my
intend to work on this patch this week).
I leave this to the maintainers to resolve.

[1] https://sourceware.org/pipermail/binutils/2022-January/119236.html
[2] http://lists.infradead.org/pipermail/linux-riscv/2022-March/013087.html

Christoph Muellner (1):
  RISC-V: Add T-Head CMO vendor extension

Philipp Tomsich (1):
  RISC-V: Support XVentanaCondOps extension

 bfd/elfxx-riscv.c                           | 17 +++++-
 gas/doc/c-riscv.texi                        | 25 +++++++++
 gas/testsuite/gas/riscv/x-thead-cmo-fail.d  |  3 ++
 gas/testsuite/gas/riscv/x-thead-cmo-fail.l  | 22 ++++++++
 gas/testsuite/gas/riscv/x-thead-cmo-fail.s  | 22 ++++++++
 gas/testsuite/gas/riscv/x-thead-cmo.d       | 30 +++++++++++
 gas/testsuite/gas/riscv/x-thead-cmo.s       | 22 ++++++++
 gas/testsuite/gas/riscv/x-ventana-condops.d | 12 +++++
 gas/testsuite/gas/riscv/x-ventana-condops.s |  4 ++
 include/opcode/riscv-opc.h                  | 60 ++++++++++++++++++++-
 include/opcode/riscv.h                      |  2 +
 opcodes/riscv-opc.c                         | 29 ++++++++++
 12 files changed, 245 insertions(+), 3 deletions(-)
 create mode 100644 gas/testsuite/gas/riscv/x-thead-cmo-fail.d
 create mode 100644 gas/testsuite/gas/riscv/x-thead-cmo-fail.l
 create mode 100644 gas/testsuite/gas/riscv/x-thead-cmo-fail.s
 create mode 100644 gas/testsuite/gas/riscv/x-thead-cmo.d
 create mode 100644 gas/testsuite/gas/riscv/x-thead-cmo.s
 create mode 100644 gas/testsuite/gas/riscv/x-ventana-condops.d
 create mode 100644 gas/testsuite/gas/riscv/x-ventana-condops.s

-- 
2.35.1



More information about the Binutils mailing list