[PATCH v6 2/2] RISC-V: Add SpacemiT vendor extension xsmtvdotii
Jeffrey Law
jeffrey.law@oss.qualcomm.com
Mon Jun 22 16:57:26 GMT 2026
On 5/25/2026 2:20 AM, Mark Zhuang wrote:
> From: Mark Zhuang <mark.zhuang@spacemit.com>
>
> SpacemiT defines Intrinsic Matrix Extension (IME) specification [1].
> SpacemiT A100 implements version 1.0 of the SpacemiT Vector Dot Product
> II Extension (XsmtVdotII v1.0) [2], a subset of the full IME specification.
>
> [1] https://github.com/spacemit-com/riscv-ime-extension-spec/releases/download/v1.0/spacemit-ime-asciidoc.pdf
> [2] https://github.com/spacemit-com/docs-ai/blob/main/en/architecture/ime_extension.md
> ---
> bfd/elfxx-riscv.c | 11 ++
> gas/NEWS | 2 +-
> gas/config/tc-riscv.c | 102 ++++++++++++++++
> gas/doc/c-riscv.texi | 8 ++
> gas/testsuite/gas/riscv/march-help.l | 1 +
> gas/testsuite/gas/riscv/x-smt-vdot-fail.l | 64 +++++-----
> gas/testsuite/gas/riscv/x-smt-vdot-ii-fail.d | 3 +
> gas/testsuite/gas/riscv/x-smt-vdot-ii-fail.l | 99 ++++++++++++++++
> gas/testsuite/gas/riscv/x-smt-vdot-ii-fail.s | 118 +++++++++++++++++++
> gas/testsuite/gas/riscv/x-smt-vdot-ii.d | 69 +++++++++++
> gas/testsuite/gas/riscv/x-smt-vdot-ii.s | 73 ++++++++++++
> include/opcode/riscv-opc.h | 41 +++++++
> include/opcode/riscv.h | 7 ++
> opcodes/riscv-dis.c | 36 ++++++
> opcodes/riscv-opc.c | 63 +++++++---
I've pushed this to the trunk as well. Thanks!
jeff
More information about the Binutils
mailing list