-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Zc* extensions (#107)
- Loading branch information
1 parent
9f4d2be
commit 8df0274
Showing
6 changed files
with
35 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
c.zext.w rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=4 |
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,11 @@ | ||
c.lbu rd_p rs1_p c_uimm2 1..0=0 15..13=4 12..10=0 | ||
c.lhu rd_p rs1_p c_uimm1 1..0=0 15..13=4 12..10=1 6=0 | ||
c.lh rd_p rs1_p c_uimm1 1..0=0 15..13=4 12..10=1 6=1 | ||
c.sb rs2_p rs1_p c_uimm2 1..0=0 15..13=4 12..10=2 | ||
c.sh rs2_p rs1_p c_uimm1 1..0=0 15..13=4 12..10=3 6=0 | ||
c.zext.b rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=0 | ||
c.sext.b rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=1 | ||
c.zext.h rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=2 | ||
c.sext.h rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=3 | ||
c.not rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=5 | ||
c.mul rd_rs1_p rs2_p 1..0=1 15..13=4 12..10=7 6..5=2 |
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,6 @@ | ||
cm.push c_rlist c_spimm 1..0=2 15..13=5 12..8=0x18 | ||
cm.pop c_rlist c_spimm 1..0=2 15..13=5 12..8=0x1A | ||
cm.popretz c_rlist c_spimm 1..0=2 15..13=5 12..8=0x1C | ||
cm.popret c_rlist c_spimm 1..0=2 15..13=5 12..8=0x1E | ||
cm.mvsa01 c_sreg1 c_sreg2 1..0=2 15..13=5 12..10=3 6..5=1 | ||
cm.mva01s c_sreg1 c_sreg2 1..0=2 15..13=5 12..10=3 6..5=3 |
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 @@ | ||
cm.jalt c_index 1..0=2 15..13=5 12..10=0 |