RISC-V: Add support for ziccamoc extension.
Patch committed: RISC-V Ziccamoc extension (v1.0) support added to binutils.
This discussion confirms the commitment of a patch that adds support for the RISC-V Ziccamoc extension, version 1.0, to the binutils. The changes were made to BFD and gas, including updating the list of supported extensions and NEWS files. This addition aligns binutils with GCC’s support for the extension.
- other
Confirms that the patch adding RISC-V Ziccamoc extension support has been committed.
“committed :)”
- proposer
Submitted a patch to add minimal support for the RISC-V Ziccamoc extension, version 1.0, to binutils.
“This patch adds minimal support for the RISC-V Ziccamoc extension, version 1.0[1]. [1] https://github.com/riscv/riscv-isa-manual/blob/main/src/unpriv/ziccamoc.adoc bfd/ChangeLog: * elfxx-riscv.c: Add ziccamoc extension. gas/ChangeLog: * NEWS: Add ziccamoc extension. * testsuite/gas/riscv/march-help.l: Ditto.”
Technical Tradeoffs
- Ensures binutils supports the Ziccamoc extension, aligning with GCC support, but adds complexity to the assembler's knowledge of RISC-V features.
In Details
This commit integrates support for the RISC-V Ziccamoc extension into the GNU Assembler (gas) and BFD library within binutils. Ziccamoc is a draft extension related to atomic memory operations. The changes update the internal lists of supported RISC-V extensions and documentation.
- Ziccamoc
- A draft RISC-V extension related to atomic memory operations, providing specialized instructions for complex atomic manipulations.
- BFD
- Binary File Descriptor library, used by GNU Binutils and GDB to provide a common interface to various object file formats.
- gas
- The GNU Assembler, responsible for translating assembly language code into machine code.
- RISC-V
- An open-source instruction set architecture (ISA) based on RISC principles.