mirror of https://github.com/xemu-project/xemu.git
target/hppa: Use CF_BP_PAGE instead of cpu_breakpoint_test
The generic tcg driver will have already checked for breakpoints. Reviewed-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d582c1faa3
commit
f9b11bc2e7
|
@ -674,8 +674,9 @@ static bool use_goto_tb(DisasContext *ctx, uint64_t bofs, uint64_t nofs)
|
||||||
executing a TB that merely branches to the next TB. */
|
executing a TB that merely branches to the next TB. */
|
||||||
static bool use_nullify_skip(DisasContext *ctx)
|
static bool use_nullify_skip(DisasContext *ctx)
|
||||||
{
|
{
|
||||||
return (((ctx->iaoq_b ^ ctx->iaoq_f) & TARGET_PAGE_MASK) == 0
|
return (!(tb_cflags(ctx->base.tb) & CF_BP_PAGE)
|
||||||
&& !cpu_breakpoint_test(ctx->cs, ctx->iaoq_b, BP_ANY));
|
&& ctx->iaoq_b != -1
|
||||||
|
&& is_same_page(&ctx->base, ctx->iaoq_b));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_goto_tb(DisasContext *ctx, int which,
|
static void gen_goto_tb(DisasContext *ctx, int which,
|
||||||
|
|
Loading…
Reference in New Issue