RISC-V: Add Ss1p13 and Zifencei to RVA23S64 and RVB23S64
Updates RISC-V profiles RVA23S64 and RVB23S64 in binutils to include Ss1p13 and Zifencei extensions.
This patch, the second in a series, adds the Ss1p13 supervisor ISA version and the Zifencei extension to the RVA23S64 and RVB23S64 RISC-V profiles. These additions are necessary for correctly assembling CSR access instructions and for the ELF architecture attribute. The changes modify the BFD ELF backend and update GAS test suites to verify the new attributes.
In Details
This patch updates the definitions of two RISC-V profiles, RVA23S64 and RVB23S64, within binutils. It incorporates the 'Ss1p13' (Supervisor ISA version 1.13) and 'Zifencei' (instruction-fetch fence) extensions into these profiles. This is achieved by modifying the riscv_profiles_table in bfd/elfxx-riscv.c and updating corresponding tests in gas/testsuite/gas/riscv/. The goal is to ensure that binutils correctly handles assembly and ELF attribute generation for these profiles.
- Ss1p13
- RISC-V Supervisor ISA version 1.13.
- Zifencei
- A RISC-V extension providing instruction-fetch fence instructions.
- RVA23S64
- A RISC-V profile for 64-bit systems, including specific supervisor extensions.
- RVB23S64
- Another RISC-V profile for 64-bit systems, possibly related to RVA23S64 with variations.
- CSR
- Control and Status Register, special-purpose registers used by the processor to control its operation.
- ELF
- Executable and Linkable Format.
- BFD
- Binary File Descriptor library.
- GAS
- The GNU Assembler.