-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Implement extension variants
If there is a instruction with multiple variants with different requirements and the assembler fails to parse all variants, there is a case that needs to refer ALL variants to generate proper diagnostics. If an instruction with INSN_HAS_EXT_VARS fails, the assembler now has a chance to modify the instruction class for proper diagnostics. A typical use of this feature is to select _wider_ instruction class when necessary. gas/ChangeLog: * config/tc-riscv.c (riscv_ip): Add empty INSN_HAS_EXT_VARS handling. include/ChangeLog: * opcode/riscv.h (INSN_HAS_EXT_VARS): New.
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters