-
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 common register pair framework
This commit implements common framework for aligned register pairs (using GPRs). This is particularly useful on following extensions: - 'Zdinx' - 'Zqinx' (once proposed but not ratified yet) - 'Zpsfoperand' (a part of 'P'-extension proposal) New operand type format is shown below: 1. 'l' (stands for "length") 2. One of the following: '1' for 32-bit data (or less), (RV32: 1 register, RV64: 1 register) '2' for 64-bit data (RV32: 2 registers, RV64: 1 register) '4' for 128-bit data (RV32: 4 registers, RV64: 2 registers) 3. One of the following: 'd' for RD 's' for RS1 't' for RS2 'r' for RS3 'u' for RS1 and RS2 (where RS1 == RS2) gas/ChangeLog: * config/tc-riscv.c (riscv_ip): Add handling for "l[124][dstru]". (validate_riscv_insn): Likewise. opcodes/ChangeLog: * riscv-dis.c (print_insn_args): Add handling for "l[124][dstru]".
- Loading branch information
Showing
2 changed files
with
103 additions
and
0 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