This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from edwin7026/master
Support for Instruction Aliases
- Loading branch information
Showing
9 changed files
with
185 additions
and
31 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
|
||
__author__ = """InCore Semiconductors Pvt Ltd""" | ||
__email__ = '[email protected]' | ||
__version__ = '0.14.0' | ||
__version__ = '0.15.0' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# This file holds aliases for groups of instructions | ||
|
||
rv32i_arith_reg: &rv32i_arith_reg | ||
- add | ||
- sub | ||
- slt | ||
- sltu | ||
- xor | ||
- or | ||
- and | ||
|
||
rv32i_arith_imm: &rv32i_arith_imm | ||
- addi | ||
- slti | ||
- sltiu | ||
- xori | ||
- ori | ||
- andi | ||
|
||
rv32i_shift_reg: &rv32i_shift_reg | ||
- sll | ||
- srl | ||
- sra | ||
|
||
rv32i_shift_imm: &rv32i_shift_imm | ||
- slli | ||
- srli | ||
- srai | ||
|
||
rv32i_arith: &rv32i_arith [*rv32i_arith_reg, *rv32i_arith_imm] | ||
|
||
rv32i_shift: &rv32i_shift [*rv32i_shift_reg, *rv32i_shift_imm] | ||
|
||
rv64i_arith_reg: &rv64i_arith_reg | ||
- *rv32i_arith_reg | ||
- addw | ||
- subw | ||
|
||
rv64i_arith_imm: &rv64i_arith_imm | ||
- *rv32i_arith_imm | ||
- addiw | ||
|
||
rv64i_shift_reg: &rv64i_shift_reg | ||
- *rv32i_shift_reg | ||
- sllw | ||
- srlw | ||
- sraw | ||
|
||
rv64i_shift_imm: &rv64i_shift_imm | ||
- *rv32i_shift_imm | ||
- slliw | ||
- srliw | ||
|
||
rv64i_arith: &rv64i_arith [*rv64i_arith_reg, *rv64i_arith_imm] | ||
|
||
rv64i_shift: &rv64i_shift [*rv64i_shift_reg, *rv64i_shift_imm] | ||
|
||
rv32i_branch: &rv32i_branch | ||
- beq | ||
- bge | ||
- bgeu | ||
- blt | ||
- bltu | ||
- bne | ||
|
||
rv64i_branch: &rv64i_branch [*rv32i_branch] | ||
|
||
rv32i_jal: &rv32i_jal | ||
- jal | ||
- jalr | ||
|
||
rv64i_jal: &rv64i_jal [*rv32i_jal] | ||
|
||
rv32i_load: &rv32i_load | ||
- lw | ||
- lhu | ||
- lh | ||
- lbu | ||
- lb | ||
|
||
rv64i_load: &rv364i_load | ||
- *rv32i_load | ||
- ld | ||
- lwu | ||
|
||
rv32i_store: &rv32i_store | ||
- sw | ||
- sh | ||
- sb | ||
|
||
rv64i_store: &rv64i_store | ||
- *rv32i_store | ||
- sd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.14.0 | ||
current_version = 0.15.0 | ||
commit = True | ||
tag = True | ||
|
||
|
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