From: Philippe Mathieu-Daudé Date: Fri, 10 Oct 2025 03:27:59 +0000 (+0200) Subject: target/tricore: Inline tcg_gen_ld32u_tl() X-Git-Tag: v10.2.0-rc1~61^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f30c8aa229da11b40eb3a2e696e7e79d639c21fd;p=thirdparty%2Fqemu.git target/tricore: Inline tcg_gen_ld32u_tl() The TriCore target is only built as 32-bit, so tcg_gen_ld32u_tl() expands to tcg_gen_ld_i32(). Use the latter to simplify the next commit mechanical change. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20251010052141.42460-9-philmd@linaro.org> --- diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 112a1b9a12..2cfd2e5b8d 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -7959,7 +7959,7 @@ static void decode_sys_interrupts(DisasContext *ctx) tmp = tcg_temp_new(); l1 = gen_new_label(); - tcg_gen_ld32u_tl(tmp, tcg_env, offsetof(CPUTriCoreState, DBGSR)); + tcg_gen_ld_i32(tmp, tcg_env, offsetof(CPUTriCoreState, DBGSR)); tcg_gen_andi_tl(tmp, tmp, MASK_DBGSR_DE); tcg_gen_brcondi_tl(TCG_COND_NE, tmp, 1, l1); gen_helper_rfm(tcg_env);