RISC-V Svukte extension support added
Binutils now supports the RISC-V Svukte extension for address-independent fault latency.
Support for the RISC-V Svukte extension, which deals with address-independent fault latency, has been added. Version 1.0 of this extension implies Zicsr and is incompatible with the 32-bit architecture (RV32) as it requires Sv39. The changes include updates to assembler and BFD library logic and new test cases for validation.
In Details
This commit adds the Svukte extension to bfd/elfxx-riscv.c, registering version 1.0, its implicit dependency on Zicsr, and a conflict with RV32. The riscv_parse_check_conflicts function is updated to reject Svukte on RV32. New tests in gas/testsuite/gas/riscv/ cover its RV64 attribute, RV32 rejection, and the -march help output. The NEWS file is also updated.
- RISC-V
- An open-standard instruction set architecture (ISA) based on Reduced Instruction Set Computing principles.
- Svukte
- A RISC-V standard extension related to address-independent fault latency. It implies the use of certain memory management features.
- Zicsr
- A RISC-V standard extension that adds instructions for accessing Control and Status Registers (CSRs). CSRs control various aspects of the processor's operation and state.
- RV32
- The base integer instruction set for 32-bit RISC-V processors.
- Sv39
- A RISC-V memory management feature that defines a 39-bit virtual address translation scheme.
- GAS
- The GNU Assembler, part of the GNU Binutils project.
- BFD
- Binary File Descriptor library. A library used by binutils to handle various object file formats.