[PATCH v5 2/2] RISC-V: Add SpacemiT vendor extension xsmtvdotii

Project / Subsystem

binutils / risc-v

Date

2026-05-03

Proposer

Mark Zhuang <zhuangqiubin@linux.spacemit.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Adds support for a new vendor extension, enabling developers to utilize the new instructions.
  • Increases the complexity of the assembler and disassembler.
  • Requires updates to the toolchain to recognize the new extension.
  • The code changes include updates to the assembler, disassembler, ELF handling, and adds new test cases.

All attributes

project
binutils
subsystem
risc-v
patch_id
discussion_id
20260503143354.142807-3-zhuangqiubin@linux.spacemit.com
source_type
public_inbox
title
[PATCH v5 2/2] RISC-V: Add SpacemiT vendor extension xsmtvdotii
headline
RISC-V: Add SpacemiT vendor extension xsmtvdotii
tldr
This patch adds support for the SpacemiT Vector Dot Product II (XsmtVdotII) extension to the RISC-V assembler and disassembler.
proposer
Mark Zhuang <zhuangqiubin@linux.spacemit.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Adds support for a new vendor extension, enabling developers to utilize the new instructions.
  • Increases the complexity of the assembler and disassembler.
  • Requires updates to the toolchain to recognize the new extension.
  • The code changes include updates to the assembler, disassembler, ELF handling, and adds new test cases.
series_id
binutils:risc-v: add spacemit vendor extension xsmtvdotii
series_role
reply
series_parts
[]
tags
  • binutils
  • risc-v
  • assembler
  • disassembler
  • spacemit
bugzilla_url
date
2026-05-03T00:00:00.000Z

[PATCH v5 2/2] RISC-V: Add SpacemiT vendor extension xsmtvdotii

This patch adds the SpacemiT Vector Dot Product II Extension (XsmtVdotII v1.0) to the RISC-V assembler and disassembler within binutils. This extension is a subset of the SpacemiT Intrinsic Matrix Extension (IME) specification and is implemented in the SpacemiT A100 processor. The patch includes updates to the assembler, disassembler, ELF handling, and adds new test cases.