mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 20:11:08 +00:00
target/mips: optimize indirect branches
Backports commit e350d8ca3ac7e31c6af71a4ab74d2442dfefc697 from qemu
This commit is contained in:
parent
8ce8d4fe20
commit
2c49a6b2f6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue