From: Philippe Mathieu-Daudé Date: Wed, 4 Feb 2026 18:16:16 +0000 (+0100) Subject: target/s390x: Expand TCGv type as 64-bit target X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad429e3a38c68784c09f441fa570490e6f28b0d1;p=thirdparty%2Fqemu.git target/s390x: Expand TCGv type as 64-bit target The s390x target is a 64-bit one, so TCGv expands to TCGv_i64. Use the latter which is already used about a hundred times in this file, and is also more explicit. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20260206181953.18683-9-philmd@linaro.org> --- diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 540c5a569c..437f5a4aeb 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -3142,7 +3142,7 @@ static DisasJumpType op_mov2(DisasContext *s, DisasOps *o) static DisasJumpType op_mov2e(DisasContext *s, DisasOps *o) { int b2 = get_field(s, b2); - TCGv ar1 = tcg_temp_new_i64(); + TCGv_i64 ar1 = tcg_temp_new_i64(); int r1 = get_field(s, r1); o->out = o->in2; @@ -5743,9 +5743,9 @@ static void in2_a2(DisasContext *s, DisasOps *o) } #define SPEC_in2_a2 0 -static TCGv gen_ri2(DisasContext *s) +static TCGv_i64 gen_ri2(DisasContext *s) { - TCGv ri2 = NULL; + TCGv_i64 ri2 = NULL; bool is_imm; int imm;