Skip to content

Commit 5bf9063

Browse files
committed
Correct wrong opcode of conditional jump
Close: #308
1 parent 8b3a4af commit 5bf9063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rv32_template.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ RVOP(
617617
cmp_imm, TMP0, imm;
618618
st_imm, S32, rd, 1;
619619
set_jmp_off;
620-
jcc, 0x82;
620+
jcc, 0x8c;
621621
st_imm, S32, rd, 0;
622622
jmp_off;
623623
}))
@@ -771,7 +771,7 @@ RVOP(
771771
cmp, TMP1, TMP0;
772772
st_imm, S32, rd, 1;
773773
set_jmp_off;
774-
jcc, 0x82;
774+
jcc, 0x8c;
775775
st_imm, S32, rd, 0;
776776
jmp_off;
777777
}))

0 commit comments

Comments
 (0)