RISC-V: Add Zama16b extension support
Project / Subsystem
binutils / risc-v
Date
2026-07-14
Proposer
Wang Yaduo <wangyaduo@linux.alibaba.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
7/10
Technical tradeoffs
- • Keeping up with new and draft instruction set extensions ensures toolchain compatibility with emerging hardware features.
- • Maintaining a comprehensive list of supported extensions requires regular updates to the assembler and linker.
All attributes
- project
- binutils
- subsystem
- risc-v
- patch_id
- —
- discussion_id
- 20260714082601.45789-1-wangyaduo@linux.alibaba.com
- source_type
- public_inbox
- title
- RISC-V: Add Zama16b extension support
- headline
- RISC-V: Add Zama16b extension support
- tldr
- Adds support for the RISC-V Zama16b extension to binutils, fixing an assembler error.
- proposer
- Wang Yaduo <wangyaduo@linux.alibaba.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- 7
- technical_tradeoffs
-
- • Keeping up with new and draft instruction set extensions ensures toolchain compatibility with emerging hardware features.
- • Maintaining a comprehensive list of supported extensions requires regular updates to the assembler and linker.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • risc-v
- • binutils
- • assembler
- • extension
- • gcc
- bugzilla_url
- —
- date
- 2026-07-14T00:00:00.000Z
RISC-V: Add Zama16b extension support
Wang Yaduo proposes adding support for the RISC-V Zama16b extension to binutils. Currently, using -march with this extension causes an assembler error, even though GCC supports it. This patch updates bfd/elfxx-riscv.c to include Zama16b in the list of supported extensions and modifies gas/NEWS and gas/testsuite/gas/riscv/march-help.l accordingly.