mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 07:41:01 +00:00
target/m68k: Use lookup_and_goto_tb for DISAS_JUMP
These are all indirect or out-of-page direct jumps. We can indirectly chain to the next TB without going back to the main loop. Backports commit 8aaf7da9c3b1f282b5a123de3e87a2e6ca87f3b9 from qemu
This commit is contained in:
parent
c2fe05f7d9
commit
90b3770665
|
@ -6409,8 +6409,11 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb)
|
|||
update_cc_op(dc);
|
||||
gen_jmp_tb(dc, 0, dc->pc);
|
||||
break;
|
||||
default:
|
||||
case DISAS_JUMP:
|
||||
/* We updated CC_OP and PC in gen_jmp/gen_jmp_im. */
|
||||
tcg_gen_lookup_and_goto_ptr(tcg_ctx);
|
||||
break;
|
||||
default:
|
||||
case DISAS_UPDATE:
|
||||
update_cc_op(dc);
|
||||
/* indicate that the hash table must be used to find the next TB */
|
||||
|
|
Loading…
Reference in a new issue