mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
target/tricore: Remove target_ulong use in gen_addi_d()
Callers pass either int32_t or int16_t. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]>
This commit is contained in:
1 parent
a15e899626
commit
44e2b68d27
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user