target/aarch64: optimize cross-page direct jumps in softmmu

Perf numbers in next commit's log.

Backports commit e78722368c721f3c5b8109ed525adac1653ae97b from qemu
This commit is contained in:
Emilio G. Cota 2018-03-03 14:20:46 -05:00 committed by Lioncash
parent 0e9d3d1943
commit 83ea5b72f2
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -397,7 +397,7 @@ static inline void gen_goto_tb(DisasContext *s, int n, uint64_t dest)
} else if (s->singlestep_enabled) {
gen_exception_internal(s, EXCP_DEBUG);
} else {
tcg_gen_exit_tb(tcg_ctx, 0);
tcg_gen_lookup_and_goto_ptr(tcg_ctx, tcg_ctx->cpu_pc);
s->is_jmp = DISAS_TB_JUMP;
}
}