RISC-V assembler gains Shlcofideleg extension support
RISC-V assembler now recognizes the Shlcofideleg extension and its dependencies.
The RISC-V assembler has been updated to support the Shlcofideleg extension. This extension allows for delegation of local counter-overflow interrupts to VS-mode. The changes include updating the BFD library to recognize the extension and its implicit dependency on the ‘H’ extension, as well as adding corresponding tests to the assembler’s test suite.
In Details
This commit adds support for the Shlcofideleg extension in the RISC-V assembler. It updates bfd/elfxx-riscv.c to include Shlcofideleg in riscv_implicit_subsets and riscv_supported_std_s_ext, noting its dependency on the H extension. The gas testsuite is also updated to verify this implication. This change affects how RISC-V assembly code using this extension is parsed and validated.
- RISC-V
- An open-standard instruction set architecture based on Reduced Instruction Set Computer principles.
- Shlcofideleg
- A RISC-V extension that permits delegation of local counter-overflow interrupts to VS-mode.
- VS-mode
- Virtualization-aware mode in RISC-V, used to support hypervisors.
- H extension
- A RISC-V extension that provides support for hardware virtualization.
- BFD
- The Binary File Descriptor library, a core component of GNU Binutils responsible for handling object file formats.
- gas
- The GNU Assembler, part of the GNU Binutils suite, responsible for converting assembly language code into machine code.