binutils Newspaper
NOVEMBER 30, 2026
risc-v — Committed

RISC-V: Add Ziccid extension

Adds the Ziccid extension to binutils, which implies Ziccif and has no specific instructions.

This commit adds support for the RISC-V Ziccid extension in binutils. The Ziccid extension itself does not introduce new instructions or CSRs, but it implies the Ziccif extension. The change involves updating BFD and gas test suites to recognize and correctly handle this new extension.

In Details

This patch updates binutils' BFD and GAS components to recognize the RISC-V Ziccid extension. Ziccid is a draft extension that, according to the ISA manual, has no instructions or CSRs of its own but implies Ziccif. The changes involve adding Ziccid to the supported extensions list and defining its implication to Ziccif in bfd/elfxx-riscv.c, along with adding a test case in gas/testsuite/gas/riscv/attribute-ziccid.d.

For Context
RISC-V
An open standard instruction set architecture (ISA) based on Reduced Instruction Set Computer principles.
Ziccid
A draft RISC-V standard extension related to cache control, which implies the Ziccif extension.
Ziccif
A RISC-V standard extension related to cache flushing.
CSR
Control and Status Register. Special-purpose registers used in CPUs to control system behavior or report status.
BFD
Binary File Descriptor library, a core component of GNU Binutils used for reading and writing various object file formats.
GAS
The GNU Assembler, part of the GNU Binutils suite.
Filed Under: risc-vassemblerlinkerisaextensions