From patchwork Tue Dec 10 15:23:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 848775 Delivered-To: patch@linaro.org Received: by 2002:adf:ec08:0:b0:385:e875:8a9e with SMTP id x8csp386831wrn; Tue, 10 Dec 2024 07:30:50 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV8rgfEbUrznYt2SeGWy09o8mVBkum0W0Bp+Wb+1D81jIGcLsY+LJbtE2CVD3ELdIVQfCKB8A==@linaro.org X-Google-Smtp-Source: AGHT+IEDtO9MqhDtR0fKBFN3WeHKHltr4pmSs7Pv7+1MjGgY4Fbk0uFsLL7f7EcgroBjXObMJyBx X-Received: by 2002:a05:6214:20c3:b0:6d8:861f:add0 with SMTP id 6a1803df08f44-6d8e71726cbmr295001836d6.31.1733844649910; Tue, 10 Dec 2024 07:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733844649; cv=none; d=google.com; s=arc-20240605; b=LxOUlc9tXt55CKUVCSQCnXgyu8hKRK2Buov8DU0B+Z4oXGzDSj0EW4Jbji2cpcNHak 45r9HhAJUXrL+KQrnJudaq44YGyMZGJQqkCYy5UuUtK3NTMOsAIcjn+BezkWvhWJ2gyT neBFALoMArFJdY8h0XdFbjmA28eYfKnGot3a9TvxBBWLK1U5RceUJH2m/2X6XeOMJ77a hARCtiAz+ezO8ViSld+EMgAPGR1JRti/EMJnrrcqlQAGCJksLj6xC7iKGpgBtaNEjJjz vKRnurUASNRNoL1ILUpkEut/FO0ko0dThCyuwR5s7ekvWPMqBdBE3VNqPLefbQK64OLQ +CAA== 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:to:from :dkim-signature; bh=04IBAbHCp8s0J2f78g8j58qzcwuLYj4MNA/t29Jadew=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=gGNzs6XeKvhYbEu+Y+pnVsihN/ljJADkXAwuSivNkN7sYuVMyoXZNGakhcr9ZJa+qW 10BfvAF6zAmaXCa3zh7JeHNAcTY/qGTfgM2nJqQmd8mz8E3kU6TqTE2ksKwmN28MGydO TOztlemi2nsqkne3xq4HSfTR6mSFBYJwgNkw15t0UjkAQKnd+Ux3C0PpTnCl26fGLPxU jGlpwRcFmislUDFgRQl5xeR2bQNn6EWc1wYHXqCbChceLT2Dif0AX5LupCGkw36XvmDW fCyTIHw6u1iORq1zFARw/oYgIdjKnik4ay/8SYDI/eFmmYtzruZg9wXruo2uY2lmSz9p J5qw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fBeR+8rl; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d8dac2acf0si145665656d6.497.2024.12.10.07.30.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2024 07:30:49 -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=fBeR+8rl; 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 ) id 1tL26a-0004fJ-W8; Tue, 10 Dec 2024 10:24:58 -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 1tL26S-0004Oj-Hm for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:48 -0500 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL26R-0008OH-3F for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:48 -0500 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3ea696c4dcaso2750947b6e.2 for ; Tue, 10 Dec 2024 07:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733844285; x=1734449085; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=04IBAbHCp8s0J2f78g8j58qzcwuLYj4MNA/t29Jadew=; b=fBeR+8rl4S9SFa5bkLl2WNCqbylaOBT3eK0yVMYSLurmrxyozL5yELPBfjjwjHHmf2 Ku4XUNanR0aP2sWmbRxFT46as60n+pUFbn4hJVjYsVDc+FOSSUdhwzaFkq+JtuSY4COf aStotZAsUBl/6BAXoJGnrwZOW/tZ2Znoxl3XfgY/lTRMJJg38xggoeiHDdjzMXElPC2l dEM06sz3wEai1ye51VkrZsfWvZrIsi9d4dH5Yt7Yfd9+pxA6q3gAlCTTasSFXD9VZOaT Zy7mzciY7sOprD9AWYEK32v5dq8NxbOCsxsMBZn9uEItY1khS5IkWjsiwfzZbnwznIHb HaEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733844285; x=1734449085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=04IBAbHCp8s0J2f78g8j58qzcwuLYj4MNA/t29Jadew=; b=uQQI6YL2cjRA35SsXerfaCtJacXc1/86OaqN9ISfDOhOxMLzlNdu/t4jgr6TB2CKPC 2wJjtGs6DG+Ce4BrBEiLAe1j3wPTO6YboPKFS9qYMhNo/p5e4oKhNhD6iWo3weVLmfSy UdPbM1JKm+D+K5Jx1D4KI34fP2tdh2JwOg9q1vyHMlUGE7iKvBxiV+dQdXh+9VM5rmhm 2S7gJ6ae94kvS9H7zgUHekRU6JZ8BEatgAaSATMvTX5kLFdgGdqLcjtp8BqdN68SxjIw czkpKEe74JXB26DylKl7NWT52knJ/f1PQVwVTmIUGrQwNQIWhbArycG/n+dbPDcfLIG5 Chiw== X-Gm-Message-State: AOJu0YxkMJPPs0bkr42LwuKzCfMcRe2IhVG8Bz+5wztn2BKIf2EIS3an /DaGTRnfZg/tocW7YMAaCX0GMbTO3EjutLnd3FeI7S2xKS/+BN0hjy2dUF+Sgqs6cekvSfjyQYK +9vj3Rylz X-Gm-Gg: ASbGnct3InccTjfVH1yAc0jFXieYyDvugAni2TYTqCqMhV0+uGAf2eiVadZz1FThV0o QVIgoiqbEcgDlB/obHOWhj8xKGTD0p4d70TxWYDWZhsUVEfmifn45bl6XpvZm1j0w9SsPayXfZ2 KZuzhA43sIENrNF06thxVBPOMYTkGgIwzIaa5h8/lL175G2IBAOQb1PXpuce18ctsiaqt4MaOzC F0SPVHLbofvKEQlQWZI/pcsiu5MlK+cq9Gv4te4vUeFAPJqPJiXJymhIlokFw== X-Received: by 2002:a05:6808:1802:b0:3e5:f4f9:3280 with SMTP id 5614622812f47-3eb19c770c5mr13079993b6e.10.1733844285359; Tue, 10 Dec 2024 07:24:45 -0800 (PST) Received: from stoup.. ([187.217.227.247]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3eb076b9168sm2776435b6e.14.2024.12.10.07.24.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 07:24:44 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 29/46] tcg/optimize: Use finish_folding in fold_remainder Date: Tue, 10 Dec 2024 09:23:44 -0600 Message-ID: <20241210152401.1823648-30-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241210152401.1823648-1-richard.henderson@linaro.org> References: <20241210152401.1823648-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::229; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x229.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 Signed-off-by: Richard Henderson --- tcg/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/optimize.c b/tcg/optimize.c index ee00620ce0..eac5ef5eec 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -2134,7 +2134,7 @@ static bool fold_remainder(OptContext *ctx, TCGOp *op) fold_xx_to_i(ctx, op, 0)) { return true; } - return false; + return finish_folding(ctx, op); } static bool fold_setcond_zmask(OptContext *ctx, TCGOp *op, bool neg)