[PATCH v3 0/1] RISC-V: Add SpacemiT vendor extensions xsmtvdot

Mark Zhuang zhuangqiubin@linux.spacemit.com
Fri Apr 10 10:00:33 GMT 2026


From: Mark Zhuang <mark.zhuang@spacemit.com>

Thanks Jan for the helpful review, the suggestions really improved things.

Changes in v3:
  - Fix gas/NEWS placement
  - Fix indentation, line length and comment style issues.
  - Drop riscv_smt_wi table, parse width specifiers inline.
  - Make Xpw&8 an optional operand, remove INSN_ALIAS duplicates.

Mark Zhuang (1):
  RISC-V: Add SpacemiT vendor extensions xsmtvdot

 bfd/elfxx-riscv.c                         |   7 ++
 gas/NEWS                                  |   3 +
 gas/config/tc-riscv.c                     | 106 ++++++++++++++++++++++
 gas/doc/c-riscv.texi                      |   7 ++
 gas/testsuite/gas/riscv/march-help.l      |   1 +
 gas/testsuite/gas/riscv/x-smt-vdot-fail.l |   3 +
 gas/testsuite/gas/riscv/x-smt-vdot-fail.s |  46 ++++++++++
 gas/testsuite/gas/riscv/x-smt-vdot.d      |  41 +++++++++
 gas/testsuite/gas/riscv/x-smt-vdot.s      |  33 +++++++
 include/opcode/riscv-opc.h                |  38 ++++++++
 include/opcode/riscv.h                    |   9 ++
 opcodes/riscv-dis.c                       |  59 ++++++++++++
 opcodes/riscv-opc.c                       |  23 +++++
 13 files changed, 376 insertions(+)
 create mode 100644 gas/testsuite/gas/riscv/x-smt-vdot-fail.l
 create mode 100644 gas/testsuite/gas/riscv/x-smt-vdot-fail.s
 create mode 100644 gas/testsuite/gas/riscv/x-smt-vdot.d
 create mode 100644 gas/testsuite/gas/riscv/x-smt-vdot.s

-- 
2.34.1



More information about the Binutils mailing list