RISC-V: Remove optional extensions from RVB23 profiles
RISC-V: RVB23 profiles are updated to remove optional extensions, aligning with specifications.
This commit aligns the RISC-V RVB23 profiles with version 1.0 specifications by removing optional extensions. Specifically, Zfhmin, Zvfhmin, Zvbb, Zvkt, and Supm have been removed from the RVB23U64 and RVB23S64 profiles. Previously, enabling vector subsets by default led to GCC emitting vector instructions for scalar RVB23S64 hardware. The change also updates a test case to expect the mandatory Zifencei extension for RVB23S64.
In Details
The RVB23 Profiles v1.0 specification lists Zfhmin, Zvfhmin, Zvbb, Zvkt, and Supm as optional expansion options for RVB23U64 (and inherited by RVB23S64). This commit removes these from the GCC profile definitions (config/riscv/riscv-profiles.def). The consequence of having these enabled by default was the emission of vector instructions for scalar RVB23S64 harts. The test gcc.target/riscv/arch-rvb23s.c is updated to reflect the mandatory Zifencei extension.
- RISC-V
- An open-standard instruction set architecture (ISA) based on Reduced Instruction Set Computing principles.
- RVB23
- A specific profile within the RISC-V architecture, likely tailored for certain embedded or specific use cases, such as the 'RVB23' embedded processor family.
- Profile
- In the context of RISC-V, a profile defines a standard set of extensions and features for a particular class of processors, ensuring compatibility and interoperability.
- extension
- A set of additional instructions or features that can be added to the base RISC-V ISA to provide specialized functionality, such as vector processing (V), bit manipulation (B), etc.
- Zfhmin
- A RISC-V standard extension providing half-precision floating-point instructions.
- Zvfhmin
- A RISC-V standard extension providing half-precision vector floating-point instructions.
- Zvbb
- A RISC-V standard extension for bit manipulation operations on vector types.
- Zvkt
- A RISC-V standard extension for vector cryptographic operations.
- Supm
- A RISC-V standard extension for support of packed SIMD instructions.
- Zifencei
- A RISC-V standard extension that provides the
fence.iinstruction, ensuring proper synchronization for instruction fetches.