From patchwork Wed Nov 30 16:34:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 629486 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp975567pvb; Wed, 30 Nov 2022 08:36:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Iyc1Kn2GykDsycw40Ya6dBZBt73YfobVu47BeDCeto+2R4Ol4XCkbUUDJg6ZWoYoJA2MW X-Received: by 2002:ae9:e203:0:b0:6fc:9dc5:dd66 with SMTP id c3-20020ae9e203000000b006fc9dc5dd66mr2162307qkc.248.1669826161751; Wed, 30 Nov 2022 08:36:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669826161; cv=none; d=google.com; s=arc-20160816; b=h+lIWmHgE0uHmJruBiCB/yBm5cDF/iCkT7MUUVLOdFhc2tBRC8pHiUKBgF91ydON9L AvtkPfh8aA5Vd0uuArUFEFtd/TScMY/jHAlPVvt+OdS10G5g7h9qvxuvqeLNbgqP0wYr EP8v9Ql3wnMPIVXPkXV9EHus4n6yiW68WUZQmD1/QBk8amIL5NIuoS4EC9/1+pGL3g+F Z9ZmEIrD8g4D+66dFAv47AszuUNJX4JqQwBMeTU6XI6OCkDrReTlx/G6n4SDzS/UdEqG GvWIEEK+4Sz1TT4bDhVytbS4VkwFCcnoqm9vRNaoVygijNF3oKnr7+TDpMz8oM3DKKqX C26Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Wj4Tumdtb8tpGGJ6wJeEX2VYkTrShcgFecj89k/vw5w=; b=ozv2l2GqjVYNUHEkAMzqfeTKabjw5N0SVAtsBAy8qp7ILOuP3SeuRZSUy18zl6S/8k cAy0o1IQz9/TA0vDUnXeqQEWGNynn2XJ8yqd+pwMTRZzsU41zHtAoPaBK1wsOuWWSsCj SQTzrE8LLjwYDz2dhcYmC31pkkYzemwdBekWpwph0TdZek8SZ2E4B+jefeerx3BC9G+W w6+LeDrgjhb4dlnxfS8YRqi0dNLosPPqG1d2fvyBMIOT9V79hKmailOze6nWENLcQUpL LaiUd+JYZEO61gvoFXws8FP75RwX9JcIwksAcYyUZETmwYad7TyMGLXzqs/MsmPnfThF ogXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NnaUgGx0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v1-20020a05620a0f0100b006fbf94fc649si1063446qkl.413.2022.11.30.08.36.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Nov 2022 08:36:01 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NnaUgGx0; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0Q2w-0003jm-Hm; Wed, 30 Nov 2022 11:34:54 -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 1p0Q2u-0003hZ-Rp for qemu-devel@nongnu.org; Wed, 30 Nov 2022 11:34:52 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0Q2t-0008Sg-Af for qemu-devel@nongnu.org; Wed, 30 Nov 2022 11:34:52 -0500 Received: by mail-wr1-x42e.google.com with SMTP id x17so27969134wrn.6 for ; Wed, 30 Nov 2022 08:34:50 -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=Wj4Tumdtb8tpGGJ6wJeEX2VYkTrShcgFecj89k/vw5w=; b=NnaUgGx05/YGfF4nOCw93Z28Q92EcWnqDwFGb7DKok05ELHZtPcDQRb8A/ZeXJ8qJY bNvSdyjQdz19DQbK6XUOs2Qxek76FDN0QTwHZQ0I3HJog+l6w9JLi3TDgWiZksgkJrc8 Kk66+crRtsfdDi9z0NdAklcHHnqITRaVCxMziQgQDSMbrCyzWxY/+IeneZraHiP3XeIm B1OWvduHVXhx9YhTDwjmMWK/TK9c2zE5FVI6m9tchPw8uzYiA9LFKRzKwbUG4Sc2FIeY NQPcWQZ4+lplb953hm8YFA7PMHEL5SYWtyGouk4oOElf9LUsQzpmTz6k0C17FNyMONw4 QGNw== 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=Wj4Tumdtb8tpGGJ6wJeEX2VYkTrShcgFecj89k/vw5w=; b=o62qPHjw0OZ729ZFpf6PpBsw0IX4jzd4wSQf7JuRMgqyetrOPcebqPMICws2S56Gy1 WsNhFO+fIKQ7tOr+NTFE+Dktk/dy5Y3hIR/dq+4fxwQ65TOBs5E5xEb4wiOSiW7wF9s+ 3F6Sqoub+LHF2o0eqV3BFYSJ15DEkev0m12L1KusDMvJSXWBhzRWFrYW4y1HUqqE6FqH T6QkDPVhWTCTBmd78d7zHFwTygX4JgK9dvE/auxz1X5g3aGpPUXhIoeS+mQzzJYG9aRd w11/yOX6gWfb3BDr3YMyumQYGcsRQ6una4sOq+ErpYb+/ebyFxnYQ8PFaCCkA/e7JuIX /UZw== X-Gm-Message-State: ANoB5pkYad0vGFJZnaxr5wTNxI+CCTdgAElYYTzEVMaOmq9kdWRPftfc 8DMMI49JVP0X//VwsyhVR/DbOljMyvlvd1k3 X-Received: by 2002:a5d:6144:0:b0:242:1c33:35b8 with SMTP id y4-20020a5d6144000000b002421c3335b8mr8786611wrt.217.1669826089841; Wed, 30 Nov 2022 08:34:49 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id z16-20020a5d4d10000000b00241c712916fsm2488305wrt.0.2022.11.30.08.34.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 30 Nov 2022 08:34:49 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Alessandro Di Federico , Ilya Leoshkevich , Mark Cave-Ayland , qemu-s390x@nongnu.org, David Hildenbrand , Richard Henderson , Thomas Huth , Artyom Tarasenko , Anton Johansson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 2/2] target/sparc64: Replace TCGv by TCGv_i64 in gen_op_multiply() Date: Wed, 30 Nov 2022 17:34:36 +0100 Message-Id: <20221130163436.87687-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130163436.87687-1-philmd@linaro.org> References: <20221130163436.87687-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Although TCGv is defined as TCGv_i64 on sparc64, make it clear tcg_temp_new_i64() returns a TCGv_i64. Signed-off-by: Philippe Mathieu-Daudé --- target/sparc/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/sparc/translate.c b/target/sparc/translate.c index 34858eb95f..5a08641995 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -647,8 +647,8 @@ static inline void gen_op_multiply(TCGv dst, TCGv src1, TCGv src2, int sign_ext) tcg_gen_mulu2_tl(dst, cpu_y, src1, src2); } #else - TCGv t0 = tcg_temp_new_i64(); - TCGv t1 = tcg_temp_new_i64(); + TCGv_i64 t0 = tcg_temp_new_i64(); + TCGv_i64 t1 = tcg_temp_new_i64(); if (sign_ext) { tcg_gen_ext32s_i64(t0, src1);