RISC-V profiles RVA23S64 and RVB23S64 now require Zifencei and SS1P13 extensions
RISC-V profiles RVA23S64 and RVB23S64 now include Zifencei and SS1P13 extensions.
The RISC-V assembler now supports the RVA23S64 and RVB23S64 profiles by including the Zifencei (instruction-fetch fence) and Ss1p13 (supervisor ISA version 1.13) extensions. This ensures that the assembler accepts fence.i instructions and correctly records these extensions in the ELF architecture attribute for these profiles.
In Details
This commit updates bfd/elfxx-riscv.c by adding _ss1p13 and _zifencei to the riscv_profiles_table entries for RVA23S64 and RVB23S64. It also updates gas test suite cases (gas/testsuite/gas/riscv/attribute-rva23s.d and attribute-rvb23s.d) to verify the ELF architecture attributes reflect these additions. This change ensures compliance with the RVA23 and RVB23 profile specifications.
- RISC-V
- An open-standard instruction set architecture (ISA) based on Reduced Instruction Set Computing principles.
- Zifencei
- A RISC-V standard extension that provides an instruction-fetch fence, ensuring that previously issued instruction fetches are completed before subsequent ones are initiated.
- Ss1p13
- A RISC-V ISA extension indicating supervisor-level functionality with version 1.13. This refers to a specific revision of the supervisor-mode architecture.
- RVA23S64
- A RISC-V application profile for 64-bit systems, targeting embedded applications, including supervisor-mode features.
- RVB23S64
- A RISC-V profile for 64-bit systems, potentially related to embedded or real-time applications, including supervisor-mode features.
- GAS
- The GNU Assembler, part of the GNU Binutils project.
- ELF
- Executable and Linkable Format. A common standard file format for executables, object code, shared libraries, and core dumps on Unix-like systems.