Skip to content

Commit

Permalink
Fix typo in the RISC-V JALR instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
fshaked committed Jan 18, 2022
1 parent 2da93c2 commit 488f5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_files/riscv/herdtools_ast_to_shallow_ast.hgen
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
translate_reg "rd" rd)
| `RISCVJALR(imm, rs, rd) -> RISCV_JALR(
translate_imm12 "imm" imm,
translate_reg "rs" rd,
translate_reg "rs" rs,
translate_reg "rd" rd)
| `RISCVBType(imm, rs2, rs1, op) -> BTYPE(
translate_imm13 "imm" imm,
Expand Down

0 comments on commit 488f5d2

Please sign in to comment.