Skip to content

Commit 1351c44

Browse files
authored
Merge pull request #335 from qwe661234/master
Correct wrong opcode of conditional jump
2 parents 8b3a4af + 5bf9063 commit 1351c44

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)