Skip to content

Commit

Permalink
target/hppa: Use translator_use_goto_tb
Browse files Browse the repository at this point in the history
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Jul 9, 2021
1 parent ca92d7f commit 57f9149
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions target/hppa/translate.c
Expand Up @@ -816,10 +816,7 @@ static bool gen_illegal(DisasContext *ctx)

static bool use_goto_tb(DisasContext *ctx, target_ureg dest)
{
/* Suppress goto_tb for page crossing, IO, or single-steping. */
return !(((ctx->base.pc_first ^ dest) & TARGET_PAGE_MASK)
|| (tb_cflags(ctx->base.tb) & CF_LAST_IO)
|| ctx->base.singlestep_enabled);
return translator_use_goto_tb(&ctx->base, dest);
}

/* If the next insn is to be nullified, and it's on the same page,
Expand Down

0 comments on commit 57f9149

Please sign in to comment.