Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix instruction duplication between rv128_c and rv64_c #192

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions unratified/rv128_c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# quadrant 0
c.lq rd_p rs1_p c_uimm9lo c_uimm9hi 1..0=0 15..13=1
c.ld rd_p rs1_p c_uimm8lo c_uimm8hi 1..0=0 15..13=3
$import rv64_c::c.ld
c.sq rs1_p rs2_p c_uimm9hi c_uimm9lo 1..0=0 15..13=5
c.sd rs1_p rs2_p c_uimm8hi c_uimm8lo 1..0=0 15..13=7
$import rv64_c::c.sd

#quadrant 1
c.addiw rd_rs1_n0 c_imm6lo c_imm6hi 1..0=1 15..13=1
$import rv64_c::c.addiw

#quadrant 2
c.lqsp rd c_uimm10sphi c_uimm10splo 1..0=2 15..13=1
c.ldsp rd_n0 c_uimm9sphi c_uimm9splo 1..0=2 15..13=3
$import rv64_c::c.ldsp
c.sqsp c_rs2 c_uimm10sp_s 1..0=2 15..13=5
c.sdsp c_rs2 c_uimm9sp_s 1..0=2 15..13=7
$import rv64_c::c.sdsp
Loading