From nobody Tue May 13 19:16:58 2025 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1677477380; cv=none; d=zohomail.com; s=zohoarc; b=dGRnvPtNVuGjqas3tiA14JjtLmRPI9Y08g1+0oW/lFqYExhpoIUTD3TKiX4dE7v/ajX6/4MOrBsGAeuQU5Vw/7HGe79MmOLWdRGe9skyHL5TRV2bmkLmVtUgL9RysargPMZ15uLdZjC/r+yowwwwCYosg4zi7QhCxEUCwlojjWI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677477380; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pbVY1YRte3qR5fLZYESRSG1NLBaIN6wrPtZwVv1o2+w=; b=g1CBg10hnDJhWvX2xwjxeOqsGBjBANlBDfVGf0uP1ryoFYXYWvclp3gnK4LeLAxaqtOYXS90znMAK8IvnxY4ncVKMqQSk4lMr4addJX7hsmq2DbgvSNx5Al/O27SSeA6A4Il9f306RqDFI8hRhQoBQi05nnZ1yqB4pRr0cINbu8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1677477380613613.9018787318502; Sun, 26 Feb 2023 21:56:20 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWWOE-0007oM-5E; Mon, 27 Feb 2023 00:49:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWWNA-0003qU-62 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:48:28 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWWN6-0007Gb-SF for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:48:27 -0500 Received: by mail-pj1-x1030.google.com with SMTP id x34so4953315pjj.0 for ; Sun, 26 Feb 2023 21:48:24 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id im16-20020a170902bb1000b0019a983f0119sm3553986plb.307.2023.02.26.21.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pbVY1YRte3qR5fLZYESRSG1NLBaIN6wrPtZwVv1o2+w=; b=Y2IPbJksQGxF2PSh23bEjGAI9C1Jhl6nAcH1ozPNe+Sv4mz35dJzDlRHRKmuRd/WSA ZktUPd20LwGAYEOa5MPpQtAcgYtM62xgdNlj9mbedPWgQEL4kfEJv2jIqqlNh6PRgRGg bOwJZqL+Q9qulBIOJJXXZn40wBlYc2Y3kCVDDuL4VavsfMMg2qh3Lw/fA81dynCqwgK/ QsaCXSqNxzbBwVRcSwaA/OyenjIFOYQorXrnXl4oOS2zcw34BS3PptQ6/qvOK3EcWk28 +zLDgn6MaLZMN3zp7JAq+8GMGm1jbASAUws3mzcFAHnCsOI8B523h6i393LjuDTdgLWs 8F5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pbVY1YRte3qR5fLZYESRSG1NLBaIN6wrPtZwVv1o2+w=; b=MOilupxiJxxojVNYm6bqhMj9t2y4vUM+W5g6iF0RzoXF7moeL4lKb6VJHlTNreF/hp zZG+hEViFb2ToBGtmORagS37xzEPW6hfunqrUiEOtCpqMxRbfNUTERdwLMC6GWr+3n/2 vuHnIVNoSMKb3/G6Gc4i/4sqFT4VUgi5kCHt8Dh/YIvXhR+jm+Y16u494L/Kih/kqeG8 c4akJeW7+QqB7E+bzUD/sYnOpbAmFbtJvHzPl3Ocdh11rH2EWwKbYqco/KXUFE6Ihzox WbUR8SEG0CZF6+qzXYFb2tuIfj4R3zacWE6zuPwx9DxcT8NC5rEtRRCJoyIYGk3uk6cz S1Gg== X-Gm-Message-State: AO0yUKXGOvmhwdP24xKle8ZuY/Yu1EwoUwQFCHOCj+XL3wBGm6V6jUl2 sCvlvfjSiqBTk46yY8UEGrl5P6uj+YHuSqRhV2Q= X-Google-Smtp-Source: AK7set/8rqhfQmNbYO60vvJk8pYINrcvsMrIz/hrG2j4g/bv5dMg0BnZ+tSUR0UO8/KmjuUKnwSTsw== X-Received: by 2002:a17:903:189:b0:19c:df6e:6aec with SMTP id z9-20020a170903018900b0019cdf6e6aecmr8702614plg.7.1677476903767; Sun, 26 Feb 2023 21:48:23 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, jcmvbkbc@gmail.com, kbastian@mail.uni-paderborn.de, ysato@users.sourceforge.jp, gaosong@loongson.cn, jiaxun.yang@flygoat.com, tsimpson@quicinc.com, ale@rev.ng, mrolnik@gmail.com, edgar.iglesias@gmail.com Subject: [PATCH 60/70] target/tricore: Drop some temp initialization Date: Sun, 26 Feb 2023 19:42:23 -1000 Message-Id: <20230227054233.390271-61-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227054233.390271-1-richard.henderson@linaro.org> References: <20230227054233.390271-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1677477381958100001 Content-Type: text/plain; charset="utf-8" The temp variables here are always set afterward; the initialization with a constant was discarded. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/tricore/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 6b7b876808..71c8f3d568 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -6906,7 +6906,7 @@ static void decode_rrr1_maddq_h(DisasContext *ctx) r4 =3D MASK_OP_RRR1_D(ctx->opcode); n =3D MASK_OP_RRR1_N(ctx->opcode); =20 - temp =3D tcg_const_i32(n); + temp =3D tcg_temp_new(); temp2 =3D tcg_temp_new(); =20 switch (op2) { @@ -7388,7 +7388,7 @@ static void decode_rrr1_msubq_h(DisasContext *ctx) r4 =3D MASK_OP_RRR1_D(ctx->opcode); n =3D MASK_OP_RRR1_N(ctx->opcode); =20 - temp =3D tcg_const_i32(n); + temp =3D tcg_temp_new(); temp2 =3D tcg_temp_new(); =20 switch (op2) { --=20 2.34.1