From: Richard Henderson Date: Sun, 26 Feb 2023 22:35:42 +0000 (-1000) Subject: target/tricore: Drop some temp initialization X-Git-Tag: v8.0.0-rc0~4^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32f948afcf874f16faee2ab69ccca911d3b99322;p=thirdparty%2Fqemu.git target/tricore: Drop some temp initialization The temp variables here are always set afterward; the initialization with a constant was discarded. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 6b2065803ff..4e3e6480498 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -6914,7 +6914,7 @@ static void decode_rrr1_maddq_h(DisasContext *ctx) r4 = MASK_OP_RRR1_D(ctx->opcode); n = MASK_OP_RRR1_N(ctx->opcode); - temp = tcg_const_i32(n); + temp = tcg_temp_new(); temp2 = tcg_temp_new(); switch (op2) { @@ -7396,7 +7396,7 @@ static void decode_rrr1_msubq_h(DisasContext *ctx) r4 = MASK_OP_RRR1_D(ctx->opcode); n = MASK_OP_RRR1_N(ctx->opcode); - temp = tcg_const_i32(n); + temp = tcg_temp_new(); temp2 = tcg_temp_new(); switch (op2) {