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

Backports commit d9a9acde64b862107933f9e9a01435e51bf8f91b from qemu
This commit is contained in:
Aurelien Jarno 2018-03-03 14:23:19 -05:00 committed by Lioncash
parent baa0983ae3
commit 8ce8d4fe20
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -4291,7 +4291,7 @@ static inline void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest)
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);
}
}