Skip to content

Commit

Permalink
Merge pull request #452 from ChinYikMing/add-sret-case-in-insn_is_unc…
Browse files Browse the repository at this point in the history
…onditional_branch

Add sret case to insn_is_unconditional_branch
  • Loading branch information
jserv authored Jun 5, 2024
2 parents e0ba559 + 83b80e7 commit 486b4b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ FORCE_INLINE bool insn_is_unconditional_branch(uint8_t opcode)
case rv_insn_ebreak:
case rv_insn_jal:
case rv_insn_jalr:
case rv_insn_sret:
case rv_insn_mret:
#if RV32_HAS(EXT_C)
case rv_insn_cj:
Expand Down

0 comments on commit 486b4b9

Please sign in to comment.