Skip to content

Commit

Permalink
Merge pull request openhwgroup#2067 from silabs-inhaahje/disassembler…
Browse files Browse the repository at this point in the history
…_updates

Fixed c.addi instruction in isa_support
  • Loading branch information
silabs-hfegran authored Jul 20, 2023
2 parents f9c3848 + 80513b4 commit d28dd1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/support/isa_support.sv
Original file line number Diff line number Diff line change
Expand Up @@ -2141,6 +2141,7 @@
asm = build_asm(C_LUI, CI_TYPE, instr);

( (instr.compressed.opcode == C1)
&& (instr.compressed.format.ci.rd_rs1.gpr != X0)
&& (instr.compressed.format.ci.funct3 == FUNCT3_C_ADDI_NOP)) :
asm = build_asm(C_ADDI, CI_TYPE, instr);

Expand Down

0 comments on commit d28dd1d

Please sign in to comment.