From patchwork Tue Dec 10 15:23:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 848770 Delivered-To: patch@linaro.org Received: by 2002:adf:ec08:0:b0:385:e875:8a9e with SMTP id x8csp386217wrn; Tue, 10 Dec 2024 07:29:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXT4lOGEZ1i8Ms0BUY7ridIG2KHC8nsB8Uoi/LnB70XA1pUN+J6ipihvHrakKc7qTjBt9eaAA==@linaro.org X-Google-Smtp-Source: AGHT+IHTrfRlcSFqPlILXCH6/Fuvk3RCUvv9ylBZPZiv7dy1DJhLHdQUK9JVUBE/SwRo9qByo36g X-Received: by 2002:a05:6214:490:b0:6d4:22fc:ce3e with SMTP id 6a1803df08f44-6d8e71dad68mr259494566d6.44.1733844596923; Tue, 10 Dec 2024 07:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733844596; cv=none; d=google.com; s=arc-20240605; b=CjiCV0AzMOHpE98DRzFhg9kNUOazDN2EMSpufgFBwih8SSK2lTF2pk9aHtFFeWm+tg osCpSHGZDhW2POq6A/iZZSLt7Vk66MvDLQ5605Puxn0I1+44UrqlrJjlb0gIEBWVEtio ciok1AKF+ts1BTcx0cN/cCBahVA0N6N0eNyOxIfn5Ta/dShBkE1Z4bTDbYXIY3TXAEt4 vGkvTd1PPF4ZPAFDzS9dgZ8Nsg0/TaKNk6RhyaqR/dv9G9TXv7oV8QgQzah7Cc7GkyJR ooT0U6uYFWz5iRzXA2NwBtER7I8DzoEKKhFsOmtkvXgKV8ZsgT/Z44bM+GQ0PVzlRcOP +4TQ== 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=mv5I27XDUr/tfBisfmpYfU0bdTaxze+ILHd73sKmTag=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=ROdwEbRZqtko5msgqu2dFyFxbBLUKPk/BN7aUvRZNSOFGNLEHc5ivKhdXyj4f7qVhF pDLwht3iAWREqcV8N0bO4X/6xnJsy9XQYB6Acb+N0y5TVsKJr8DLJFM7COwhBu++291B +wh7GR8FYnDIEqD0Pmn74daZhMr5SZx8AvMR/PpAFWYm3YJnzYH6Rzd+2cctebhhYiGA 3LdBKe64Y6zBB+CoCSJQo2SQnSZmd87PhAUL6Sr5uXG/7E9E1Ey4Br5lpL7Zf9U7P6wL XH5Wf2/xuw7gI0xOtdbRxRdE8yFrxQEiVNBHd1txeKXnObtbe5fKrKG6YCWW/6+qGHmh VZ2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YlxofX+I; 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-6d8dac460casi156611666d6.519.2024.12.10.07.29.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2024 07:29:56 -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=YlxofX+I; 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 1tL26S-0004Of-HG; Tue, 10 Dec 2024 10:24:48 -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 1tL26B-0004Hf-4y for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:32 -0500 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL269-0008L9-Qt for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:30 -0500 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3eb45232717so1258062b6e.3 for ; Tue, 10 Dec 2024 07:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733844269; x=1734449069; 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=mv5I27XDUr/tfBisfmpYfU0bdTaxze+ILHd73sKmTag=; b=YlxofX+I0oVK554RHoLxBVnnbTeQD7jOsvriG7fRg0i64QbqQdezbj725VfTjMByvf JywSIAKrVv4z6JaajLrM5QURXgQAYrqXMKrrB3fI6ICxYlR/AkaxpqTu3oZE6ITyUiqf mX9p402FI2I3CP80BXWzmNiIWVUUlUJkSiCmgXXyCoUNr9nGO59SAAs9Q1nIVS04t5GF 3YwpGKYBuQju02ZbBI4KyvTUSWNSwTo8FuEYcdjytg1vA8tvYv0XAwW9yKn2VBzhIUcg 8NRt5f+t+KouBZosar3VkP86TJFF1f/wMul1GtoEafJkjou9WMUexpWp2giET/09tf0v LEAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733844269; x=1734449069; 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=mv5I27XDUr/tfBisfmpYfU0bdTaxze+ILHd73sKmTag=; b=JUXfUi9DIQIazs9DH9I5BdbEtJi1RuLWVlmUfRCrP3hIJ6IyhQvjVPVeH2oTVGSu8P YFaruYCsoOQOr35xmo35YTB1R9MtX+VBEi+31b2ZJ69mqB4gXVAOFX4HsNJAE8EU4d5T NNNHauVTNQRCaW9ToeW7T9ptKWyPGl+LdVsg9UOp7lKdqaO0i7+h+wQ4D3Dma6UffXfW +8yol8/cSWj0SIxkf0wr5AES6OjRq8+9Je+S8woCnDl2qehIBKGLQ2uySpU3NscVYViJ yR3NgYG5GbOw9Wea1p97U6mr47Ys2F5Ak75n0nQFs5HZHb175VumtbALeXrc2fFAFqhb XV+w== X-Gm-Message-State: AOJu0YzIOUcthg+xMljtu8VNdVUBaZVRCBSVTSKlYx6/MfS7VcLBxyXd YPiVB+2c/kuk3Iun6wqTRG0lnab5d9WmrsebWn3+DHqDZAXnHtKcfr91CqaOR4HK/lrhMnsk//R ZM+Flc42V X-Gm-Gg: ASbGncs+5mr5gwMAXjQdDamFyB0dJolbILj/nlcycL90MRBB8tscEwGYHE3yFXHrmcT SmrFZpdn1nS+1kmK1KeDVXdR6wmnIxRLFvnj3yqRoAO+rTi7HUgt873m86iO719E1E1ZKPfezz7 4boDVP4kSvJli2kAafrqDD3UDnUhGBVj6+h09IXrTJVEmgxoGRDg/zwzMlxgEjZp7Pr44mIKuXu stsUix1sm91i3T7E3nZH9ILbg6tk4NDQd+SlP3bBbS1FtiA9AtEP37UrNi9YQ== X-Received: by 2002:a05:6808:14d6:b0:3eb:75b2:1e1d with SMTP id 5614622812f47-3eb75b21f28mr1206598b6e.12.1733844268900; Tue, 10 Dec 2024 07:24:28 -0800 (PST) Received: from stoup.. ([187.217.227.247]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3eb076b9168sm2776435b6e.14.2024.12.10.07.24.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 07:24:28 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 16/46] tcg/optimize: Use finish_folding in fold_extract2 Date: Tue, 10 Dec 2024 09:23:31 -0600 Message-ID: <20241210152401.1823648-17-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::236; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x236.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 Reviewed-by: Pierrick Bouvier --- tcg/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/optimize.c b/tcg/optimize.c index 955151f4cf..a0ccf7f3f2 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1754,7 +1754,7 @@ static bool fold_extract2(OptContext *ctx, TCGOp *op) } return tcg_opt_gen_movi(ctx, op, op->args[0], v1 | v2); } - return false; + return finish_folding(ctx, op); } static bool fold_exts(OptContext *ctx, TCGOp *op)