From: Richard Henderson Date: Sun, 20 Jun 2021 23:14:29 +0000 (-0700) Subject: target/hppa: Use translator_use_goto_tb X-Git-Tag: v6.1.0-rc0~27^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57f914983c5a73dcff14403e7b2080bd7664cbf5;p=thirdparty%2Fqemu.git target/hppa: Use translator_use_goto_tb Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 424ec3252ed..835120c038e 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -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,