Skip to content

Commit

Permalink
RISC-V: fix parsing fence.i
Browse files Browse the repository at this point in the history
Fix error in `RISCVOpcodeParser` causing `fence.i` opcode being string
`rd` rather than opcode value.
  • Loading branch information
janvrany committed Nov 27, 2024
1 parent 69e88ab commit beed0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArchC-RISCV/AcRISCVOpcodeParser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ AcRISCVOpcodeParser >> type_I [

internalBindings := Dictionary new.
internalBindings at: 'funct3' put: (nodes at: 4).
internalBindings at: 'opcode' put: (nodes at: 5).
internalBindings at: 'opcode' put: (nodes at: 6).

instr := ProcessorInstructionDeclaration new.
instr name: nodes first.
Expand Down

0 comments on commit beed0d4

Please sign in to comment.