RISC-V profiles RVA20S64 and RVA22S64 now supported
Binutils now supports the RISC-V RVA20S64 and RVA22S64 profiles.
The RISC-V assembler and BFD library now support the RVA20S64 and RVA22S64 profiles. This includes adding the required supervisor ISA versions (Ss 1.11 and 1.12 respectively), the Zifencei extension, and other specific extensions like Zihpm, Sscounterenw, Svpbmt, and Svinval for RVA22S64. New readelf tests verify the complete ISA attributes.
In Details
This commit introduces support for rva20s64 and rva22s64 in bfd/elfxx-riscv.c, adding them to riscv_profiles_table. These profiles require specific supervisor extensions (ss1p11, ss1p12) and standard extensions like zifencei, zihpm, sscounterenw, svpbmt, and svinval. New test cases in gas/testsuite/gas/riscv/ check the ELF architecture attributes for these profiles. The NEWS file is also updated.
- RISC-V
- An open-standard instruction set architecture (ISA) based on Reduced Instruction Set Computing principles.
- RVA20S64
- A RISC-V application profile for 64-bit systems, including supervisor-mode features, based on the RVA20 specification.
- RVA22S64
- A RISC-V application profile for 64-bit systems, including supervisor-mode features, based on the RVA22 specification.
- Ss1p11
- RISC-V supervisor extension version 1.11.
- Ss1p12
- RISC-V supervisor extension version 1.12.
- Zifencei
- A RISC-V standard extension that provides an instruction-fetch fence.
- 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.
- ELF
- Executable and Linkable Format. A common standard file format for executables, object code, shared libraries, and core dumps on Unix-like systems.