From: Richard Henderson Date: Mon, 21 Jun 2021 00:00:46 +0000 (-0700) Subject: target/tricore: Use tcg_gen_lookup_and_goto_ptr X-Git-Tag: v6.1.0-rc0~27^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3806471563f9f1b568a32fdece189a1cecb5ca01;p=thirdparty%2Fqemu.git target/tricore: Use tcg_gen_lookup_and_goto_ptr The non-single-step case of gen_goto_tb may use tcg_gen_lookup_and_goto_ptr to indirectly chain. Reviewed-by: Bastian Koppelmann Signed-off-by: Richard Henderson --- diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 09465ea0136..865020754d9 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -3243,8 +3243,9 @@ static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) gen_save_pc(dest); if (ctx->base.singlestep_enabled) { generate_qemu_excp(ctx, EXCP_DEBUG); + } else { + tcg_gen_lookup_and_goto_ptr(); } - tcg_gen_exit_tb(NULL, 0); } }