Skip to content

Commit

Permalink
Merge pull request #193 from riscv/fix-changes-in-189
Browse files Browse the repository at this point in the history
retain the original shift instructions as pseudo-ops as well
  • Loading branch information
neelgala authored Sep 22, 2023
2 parents e7f35d2 + 1fed748 commit 2a95ee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rv32_c
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# quadrant 1
c.jal c_imm12 1..0=1 15..13=1
$pseudo_op rv64_c::c.srli c.srli rd_rs1_p c_nzuimm5 1..0=1 15..13=4 12..10=0
$pseudo_op rv64_c::c.srai c.srai rd_rs1_p c_nzuimm5 1..0=1 15..13=4 12..10=1
$pseudo_op rv64_c::c.slli c.slli rd_rs1_n0 c_nzuimm6lo 1..0=2 15..12=0
$pseudo_op rv64_c::c.srli c.srli_rv32 rd_rs1_p c_nzuimm5 1..0=1 15..13=4 12..10=0
$pseudo_op rv64_c::c.srai c.srai_rv32 rd_rs1_p c_nzuimm5 1..0=1 15..13=4 12..10=1
$pseudo_op rv64_c::c.slli c.slli_rv32 rd_rs1_n0 c_nzuimm6lo 1..0=2 15..12=0

0 comments on commit 2a95ee7

Please sign in to comment.