Message ID | 20241222162446.2415717-24-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp3034858wrq; Sun, 22 Dec 2024 08:28:42 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWY7C8NdiDVMMeaK3aUblxSXOxRVvSaUWsMI7xU5OpSe8a/AlUOtDJPR0PCNdmyMZD/KPihJg==@linaro.org X-Google-Smtp-Source: AGHT+IGhl6N7Aj6CVyCHrMrS9lOAgI6VnM9CKyVgDTWC0EJ8sM8W2ZNXXs1DCCu8WaxYc97XvY+c X-Received: by 2002:a05:6214:761:b0:6d4:3437:d858 with SMTP id 6a1803df08f44-6dd233574eamr207606336d6.25.1734884922708; Sun, 22 Dec 2024 08:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734884922; cv=none; d=google.com; s=arc-20240605; b=lDYTGW1WgCkNSZlHg1Nqb6u4ozef5+wxDqcXWWLEsMX36DnRVni0MYsnYEVyf2EOGQ 30vL4MvxixhJk3n5lZT2j0sR3Ayld841Ebcrw9i+tdwjWgWlX1+1ZsjTuEU7tt1Tk4HK sv8NHYFVdOV2UOogf4U3ygco5AdgOL4feAucRi8AhEjzpC3QCvXlfpfhvM3QmNEIJ0XX N5IwQl7DFMy02xHgOYA6T7kBwExUVF9Ie5TOx5PeDbEEWXQTLtb566AJUheFRR00Q442 6imIGDsr+OyBHgIWVtTma19o6DIxSMSkGhFdd3nK/I5C6cc9E1hRdYsG0GKmWL3Y9c59 8PIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=Ups559X2JSn0eiwBpjRnVVsSX3OoK0AYX8hamX615ho=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=cOAzq76cMQpY/5Tf5vHZq6MfN2EBtoEkpy+bhx/JeEz1MIWTmN5B4dPkIjAHowOmF/ SUu9Q5FuBqPJIOkykukqhVIHfunX5k+tBwfG9yf9kPoau045E4+ezbfDO+X1nWlCRVZI 8xtC41Cg6r/SJT38Trh8KsFLs0ispa/wRrSQUFSTKgmL+a3CLSJsE6LccgPhJJmOr8qZ DBOUefQRSvZ4iySL0yxeVqhfO4OQ9rvvpzCZ6jy8XtFMEwh+snUTMh2OQSX10l36GwE2 y8gN8GOCwRSWtUWTm9a9kYg0tX6Vrc3L3Rmh/MI6y8lou3c38H7yBhxF24vwjwkzWy3d W0ww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8jfovs3; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dd1835b463si97815006d6.444.2024.12.22.08.28.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Dec 2024 08:28:42 -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=U8jfovs3; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tPOlx-0002yO-MD; Sun, 22 Dec 2024 11:25:41 -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 <richard.henderson@linaro.org>) id 1tPOlQ-0002bC-6l for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:18 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tPOlL-000308-KO for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:06 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-215770613dbso22805265ad.2 for <qemu-devel@nongnu.org>; Sun, 22 Dec 2024 08:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734884702; x=1735489502; darn=nongnu.org; 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=Ups559X2JSn0eiwBpjRnVVsSX3OoK0AYX8hamX615ho=; b=U8jfovs3HD6OWKJ3TpkRITcfOLDPLoKuzhMmI5YUJR2+7g4lsYNus6qVUoLfoI23n+ D2QPQK8gXP2tl7NukXbhV7spxNYdiZmIM5bV6tTpAUBAQhJ+q6gtXWN3yFGv0skkRSYi gn/7iRYyz9tynj6dYUAia6sE+SS01Cb0UGS2jdjoSAlvBErJWmP6l6wqfj8f1VwijKGU PrB2E/IFJwa7zzKyzu8lPlskfCz9qbImGD29T5zfm0S7FNY7b0pZVY2SEw12CamajywZ FNF/0oNTxnGjLgKcSA0VVq6B6cajki/IskCztGbFniiWMWRlqB0TGt0+EDkCKx2RhlpK 0c6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734884702; x=1735489502; 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=Ups559X2JSn0eiwBpjRnVVsSX3OoK0AYX8hamX615ho=; b=Tw4YVBfPuqq2nFvoLwVwNwa69ZSy3PVbY5CeBKXLGO19FV56q3k7Y0CVpfgR0XLhut M8+EZmo/6qnUJlqQ5ZM788o9QYMdyCdNmOOnvKlx6v0aieuL4uhF03qZBnXsiph6RfRT xVhk6oTBWgdDaVojYLM2MA8psYWZYjiaN7NBkRgGVkQoN0o/1iqL0RfdMDcxMoiM6WxU KS7ATpoERkG3f0iH7g2Xm24Q7DNouNmXbkwY3cpqaZ8ccme2o8SiA+qordvIPEWYPkDR cJPr77mIZ9MHCP3jSAFQ4HLY2+xHZpXkZduoYZv/UW3S+oEH6U69B0nc3nyiMli/kf17 HH+A== X-Gm-Message-State: AOJu0YyCK+JOVC2tQK3hKyRPwHzn+emDy7N4T7n90QlAYJJW+F3VdjFI 0vgxTLm8d5XjrRYiIMVRtc6pTuhhNJajZA24qzOtqiGnUSuAohkUEqALDZSB/VNLvaYJIezZIq2 O/PA= X-Gm-Gg: ASbGncsOXdyO/tlMl4xi88aW526MwkmtyFUw+0EL4muc3XJYqdwgcHppiMjrnIIYJpd Lw3vcI+1iWLtNrC7tgzQbMO6j8ss/kOV6gH53wbfzgKcJPBt3tcXyB0Aj3C5BmZWbmeq0O6i/N7 Nt510kFwFhDlzH/0tdB0Tghr09fjlzd5/zeIZGi8WPtXdR1IFQjPhYH7QnE6PCSF6MN9IXJeInM 5GPkd158CDSVEe2Th0FSUXqJ70lnOGjqtAuKHrbH98KRbV2APza5my1zH2bE/8= X-Received: by 2002:a17:903:2acb:b0:215:6b4c:89fa with SMTP id d9443c01a7336-219e6e85aacmr130268435ad.8.1734884702183; Sun, 22 Dec 2024 08:25:02 -0800 (PST) Received: from stoup.. ([71.212.144.252]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc971814sm58461385ad.79.2024.12.22.08.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 08:25:01 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v3 23/51] tcg/optimize: Use finish_folding in fold_mul* Date: Sun, 22 Dec 2024 08:24:18 -0800 Message-ID: <20241222162446.2415717-24-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241222162446.2415717-1-richard.henderson@linaro.org> References: <20241222162446.2415717-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x632.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Remove in-flight mask data from OptContext
|
expand
|
diff --git a/tcg/optimize.c b/tcg/optimize.c index 5493d76ceb..93e0f30249 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1952,7 +1952,7 @@ static bool fold_mul(OptContext *ctx, TCGOp *op) fold_xi_to_x(ctx, op, 1)) { return true; } - return false; + return finish_folding(ctx, op); } static bool fold_mul_highpart(OptContext *ctx, TCGOp *op) @@ -1961,7 +1961,7 @@ static bool fold_mul_highpart(OptContext *ctx, TCGOp *op) fold_xi_to_i(ctx, op, 0)) { return true; } - return false; + return finish_folding(ctx, op); } static bool fold_multiply2(OptContext *ctx, TCGOp *op) @@ -2006,7 +2006,7 @@ static bool fold_multiply2(OptContext *ctx, TCGOp *op) tcg_opt_gen_movi(ctx, op2, rh, h); return true; } - return false; + return finish_folding(ctx, op); } static bool fold_nand(OptContext *ctx, TCGOp *op)