[PATCH] RISC-V: Add support for XXTVarith and XXTVcoder extensions

Project / Subsystem

binutils / risc-v

Date

2026-07-08

Proposer

Bohan Lei <garthlei@linux.alibaba.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Adding vendor-specific extensions increases toolchain complexity but enables support for new hardware features.
  • Maintaining compatibility with evolving RISC-V specifications and toolchain conventions is crucial.

All attributes

project
binutils
subsystem
risc-v
patch_id
discussion_id
20260708024729.54397-1-garthlei@linux.alibaba.com
source_type
public_inbox
title
[PATCH] RISC-V: Add support for XXTVarith and XXTVcoder extensions
headline
RISC-V: Add support for XXTVarith and XXTVcoder extensions
tldr
Adds support for XuanTie vendor-specific XXTVarith and XXTVcoder RISC-V extensions to binutils.
proposer
Bohan Lei <garthlei@linux.alibaba.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Adding vendor-specific extensions increases toolchain complexity but enables support for new hardware features.
  • Maintaining compatibility with evolving RISC-V specifications and toolchain conventions is crucial.
series_id
series_role
standalone
series_parts
[]
tags
  • risc-v
  • binutils
  • assembler
  • extensions
  • hardware
bugzilla_url
date
2026-07-08T00:00:00.000Z

[PATCH] RISC-V: Add support for XXTVarith and XXTVcoder extensions

This patch introduces support for the XuanTie vendor-specific RISC-V extensions, XXTVarith and XXTVcoder, within the binutils project. The changes include updates to BFD for ELF subset handling, GAS for new test cases and opcode definitions, and inclusion of the ‘xt.’ vendor prefix.