From 44e2b68d275340c23f21f37f7c44e25c1b7543c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 10 Oct 2025 05:47:05 +0200 Subject: [PATCH] target/tricore: Remove target_ulong use in gen_addi_d() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Callers pass either int32_t or int16_t. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20251010052141.42460-5-philmd@linaro.org> --- target/tricore/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 4b769b204a..116f45135b 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -1308,7 +1308,7 @@ gen_msubui64_d(TCGv ret_low, TCGv ret_high, TCGv r1, TCGv r2_low, TCGv r2_high, gen_msubu64_d(ret_low, ret_high, r1, r2_low, r2_high, temp); } -static inline void gen_addi_d(TCGv ret, TCGv r1, target_ulong r2) +static inline void gen_addi_d(TCGv ret, TCGv r1, int32_t r2) { TCGv temp = tcg_constant_i32(r2); gen_add_d(ret, r1, temp); -- 2.47.3