From patchwork Wed Nov 30 16:34:35 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: 629487 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp975565pvb; Wed, 30 Nov 2022 08:36:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf66I0datQMbWrsJxMSEzL8n4usCYUVHm/8NWcDVkBzc4Fdi42g7myZdbCxqjz3yNKnrgtE3 X-Received: by 2002:a05:620a:2150:b0:6fa:12ed:931c with SMTP id m16-20020a05620a215000b006fa12ed931cmr55140803qkm.83.1669826161620; 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=JK2q5UfQlGFsBHJK5Z22pi0Y9CkAEQMLBKUz4BaDZ/kGO7UJOc2dY+GU4teUfgxpbc OiEkHFt041d/+R20gU8ZVGg3+TfZANxnTB39x3DET5OyNm5vNCUtKLaN+s/9NEd6/05j 2HdKK5fLvRN8vm856fhpYoartbQWnmxVbOIV+/iGgo5/vmy0XS18xrOeetiPFVMlgGV7 qbrUZeyy+injFkGZlt+SvBbuaandEyanDBdQw2pDXAkYDHueuNBmljYIzz2rtnNRUxo6 FRhdJql2UEdqQhuxlHflFGKuqUIRwl7ZxCkuHsvdialCwJBrhscH+0AcvWJAsvmGHRb+ h2Sg== 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=rm47tdE3SdYBH3zdkN0e4TzDiQRPGs47DqgC4yVHqoQ=; b=INGGLdjZ+o8F5gEIzIMI5or5ommsZcZIg7wHrkLUs4kZjgMw8EwdnBQkwYNdQ2Sy2X IOdlYbaNB/SWzgoaxdsGZJc6/W1k5R8lQz55YMygO003wDQnhcEI9CJlZ+4bzXgdKoaK 5V9A00xzmSSmsNxY01HJ+qG0QtE5ka1CnnXnk8t5qw7wXwl8nvO2c53k2PonmQFQCM8w ylMk2DYgCrx6zS/7n7cnVMnsV8tmHoVOHxRAmgiPRvLkuZ4pEVHjKiU6PXU5RW/vFsFi MAGYnzqhEgeBcyhbC1TRvGH4hqOkoNP9jJB01cQLe1GpBv2sYA4Hj65ZN0dZH1bRTUiy 8biw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="T/M1VhuZ"; 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 bx10-20020a05622a090a00b0039d07d23613si1024132qtb.474.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="T/M1VhuZ"; 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-0003jl-D8; 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 1p0Q2s-0003ge-3j for qemu-devel@nongnu.org; Wed, 30 Nov 2022 11:34:52 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0Q2p-0008Rt-MS for qemu-devel@nongnu.org; Wed, 30 Nov 2022 11:34:49 -0500 Received: by mail-wm1-x32b.google.com with SMTP id i81-20020a1c3b54000000b003d070274a61so1409963wma.3 for ; Wed, 30 Nov 2022 08:34:46 -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=rm47tdE3SdYBH3zdkN0e4TzDiQRPGs47DqgC4yVHqoQ=; b=T/M1VhuZSwy7hWbdL0Hbltsh2/FkJ1TOcvES63I7XKVglI6zXoUJDDWCkjpzESvEfk EAV5tIMSQN3q9Gkuf7FDVwuHVqYzuH5xAWRpJNa7ZYJeHPEMSLxWm41DJBNuPujbqu62 dz1zwA4OoNQH/dk3cfwgtCOA3xiBCo6lNsYOxEXbbG5DW05keVXgjHzjV2Iyzq8MuM5B KqfbzXfku/U6JOf92VR0QLYH1fdOoWuNz8H2FaHWrnmPeusN8I+Mlp+D2kqpj7qfgz/i +0VViBlRx6HEYIiJHhtiw911oZcY9pWAztPNhw7T+JapY5OBeqRvoMxhusGxChEJKtsA mxKQ== 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=rm47tdE3SdYBH3zdkN0e4TzDiQRPGs47DqgC4yVHqoQ=; b=HwA515+1CFA1aVepE/TI5r7IXP8Vzt7DZ7fzsn22ctpXfkrrAll4D/Ly4uh9677CNf edcYF8ooJI7BgKXcXDGuUMWWyVvjhUnxJ0bslj7mFItmxWV1h4WPnSIwL+pr3nM8uy1p vCk9d15xkfdZV0ScUwAuK3+4gJi5xS9oDz2RIemMv3XCEv/ptgZP47kRetp0KvPY3WyM HcrvpFA0gPnNYRNAYvgPm26oXjy5Eo8Yprng9BG/DXiwRkBV6wanbiNRXqUuQNxDaIpG arCEG9XGzV08qYO5X/97M6URsJJcI7TbNuBhbZBx7VrmL/A55aAzUc1hCNyJaM2yBM3k nQJA== X-Gm-Message-State: ANoB5pnj0DjqXg+M6flfxLMOTd1wWOA8/x1uJQAjot/aTMOuezCFe2eX CeQbIqeNGBw/s8N07esOEqrNWJDqb8V5GBJz X-Received: by 2002:a05:600c:20b:b0:3cf:f2aa:4f24 with SMTP id 11-20020a05600c020b00b003cff2aa4f24mr44332082wmi.48.1669826084817; Wed, 30 Nov 2022 08:34:44 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id t2-20020a5d42c2000000b002365b759b65sm1985477wrr.86.2022.11.30.08.34.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 30 Nov 2022 08:34:44 -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 1/2] target/s390x: Replace TCGv by TCGv_i64 in op_mov2e() Date: Wed, 30 Nov 2022 17:34:35 +0100 Message-Id: <20221130163436.87687-2-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::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Although TCGv is defined as TCGv_i64 on s390x, make it clear tcg_temp_new_i64() returns a TCGv_i64. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Ilya Leoshkevich --- target/s390x/tcg/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 1e599ac259..a77039b863 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -3335,7 +3335,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(); o->out = o->in2; o->g_out = o->g_in2; 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);