diff --git a/qemu/target/mips/translate.c b/qemu/target/mips/translate.c index 0cc8fe65..e56940a8 100644 --- a/qemu/target/mips/translate.c +++ b/qemu/target/mips/translate.c @@ -10810,7 +10810,7 @@ static void gen_branch(DisasContext *ctx, int insn_bytes) save_cpu_state(ctx, 0); gen_helper_raise_exception_debug(tcg_ctx, tcg_ctx->cpu_env); } - tcg_gen_exit_tb(tcg_ctx, 0); + tcg_gen_lookup_and_goto_ptr(tcg_ctx, tcg_ctx->cpu_PC); break; default: fprintf(stderr, "unknown branch 0x%x\n", proc_hflags);