From patchwork Tue Dec 10 15:23:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 848776 Delivered-To: patch@linaro.org Received: by 2002:adf:ec08:0:b0:385:e875:8a9e with SMTP id x8csp387028wrn; Tue, 10 Dec 2024 07:31:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUoSeAxsLpZHE7nC/Jyy2IDErSfBtIWPCP2yvoFp5NjjYbcPL7XtvVmQj/9G6Pj7qHjrWhuKA==@linaro.org X-Google-Smtp-Source: AGHT+IF+E8T8wvogaE+a6CYSeMza+RSkQFJ/kZ13FZTW6pXM0mlCtSj+UCjLctdxV9dNb9EiuSHH X-Received: by 2002:a05:6122:4690:b0:518:773b:39f with SMTP id 71dfb90a1353d-518773b0536mr8233508e0c.4.1733844664342; Tue, 10 Dec 2024 07:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733844664; cv=none; d=google.com; s=arc-20240605; b=GWxR2imbp913CAOUjNBlMZvV0xZwMbcLYAlL7+XI5yLk4OF4HpQh+psrCvlM5SEFDF Fx79/KHfI02P56eAvkb6ci3tXcJZgABURe05OQx6JjZFw2eq9rxepUfo7ZuvfU7HqwA0 NGh/EBjpDButnrR96jG99VEzEyhQvMuCml+1+UTjVqPTZ6/gU/GRhvNND+GliMZQbF/C H+ReO1IavTdLp8buk829lB4IWyoCzh5HTk/hRHtzuaHzGuIlPNxU6dTOriKD919Telhr cSqm97KHFtbJBsQn0AbuWMQrRUeB5kamAOZQROF0V7AhDhUtcDolV8ExvWQVW2iYjaol I6Eg== 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=zteI/mVwHb+YGRr0rE7ImI3elSxZb745PrjOakIAO0Y=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=gUsKinq+X1TAfoPKuBdv7b84Y+YmojkozMtit0qtB4cSGbZ9+i3SMBd3rVEbgyk5Ut 1pndVL8fI5XMGikBHDnsj8HFgt6IcFZaHO4/KvP2QcHg2Rs415vzj+JK7SoTmwKkv1GP hw6nlWJMlWq1MF4JokBNmICcOHEOEJCntEJIewKIA6ALm2uBYXkzztm13TCWcQltIKHf /UTLI/pXY86Fp1WeUjVcm7KlK1ZMGhZEfO6OVRZgTahaZFiPeL7sJTaFJgB5Jbarqofo msOJu/Gmn/K2sY5rnOAVugBSiWdxKNk92b5FmJKb0yRq0mB1c0L3YDSBNk+qeAfVB2NN 47Ig==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tDafcme4; 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 71dfb90a1353d-51606d17891si1939750e0c.189.2024.12.10.07.31.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2024 07:31:04 -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=tDafcme4; 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 1tL25z-0004E1-AB; Tue, 10 Dec 2024 10:24:19 -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 1tL25x-0004DF-G7 for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:17 -0500 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL25w-0008JE-3f for qemu-devel@nongnu.org; Tue, 10 Dec 2024 10:24:17 -0500 Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3eb34c20667so1371653b6e.0 for ; Tue, 10 Dec 2024 07:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733844255; x=1734449055; 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=zteI/mVwHb+YGRr0rE7ImI3elSxZb745PrjOakIAO0Y=; b=tDafcme4R5JJp41LhMPGdX9TXyZzTSDDl/3uMJ6qmAFIloWFiF/H5IxCAAXgkm7s0Y XhUaS3g1b4z0haoJLAxGnOniV81nU1y/3sIkNrM0Fyy80MamjLF/q03igxmL2M63pU54 OlPgtipYrU1KKpSm5cCi9HnAOdbgwSgKpzByvBkzbuE1et4jDvsXZ+rI1uvAUZEk4w/z VPvyPagylWuCtXLYpaiCkCv3dGlgODMDHk6v2n1kQCL/+WKU8JrN+CURVm2PKp0M8kn7 dYcAPrWqhEGS3mnbvXQ6MAmMG30KQIgLYew0K1Lop30kOqrEgQoBI3l7R82pzIvxWfyo QyVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733844255; x=1734449055; 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=zteI/mVwHb+YGRr0rE7ImI3elSxZb745PrjOakIAO0Y=; b=MUD1gZd3FWO+MiFvRH/adl+8Ay9/+PoBmF8tYt5/fOH+XIOO2hmJ4qc/sIJXHFq3jH FILZDAFrG+hMs2/z3raCVPlUQikBXf9UarK486xW4Sud/6Y93+0MA8+c70Znt2Be90IL +0A1imvtK8xDJNqf1WXUqCOs1FsOVDycSbM+hFjKaqQv9MnwHNM8Bq4QoQoIB/nFxzZQ ZlHVNrFKcWCArST2h2iomv9TnlVqQLJmcS+kUPgR5JuDVo2qB2ZYPsHfa77+MIONLp/+ 3gv0iZ9QFwOuf+DzUilVGfvZFG8v4pD2kfma0zvQ3uYeNtlrCOL9mtiTwWMhbwIQqyZB gm5A== X-Gm-Message-State: AOJu0Yzf9LGpaoKU8nromcyFi7+cOvcMePrw8lI2iC9lwQ6K7EcTaN/H HUZJlymwRt7v/99u7BKjlAMzsrdPtDRV4ac9QeBrIHrkeLaFCtrvcJPN9zR7rxANqxHH3H9xoIJ 9S+ONxNWw X-Gm-Gg: ASbGncs702NpE3R6oB/k9ekc6Jj8NKddyFUT931ySox5dxDc4nTR0joKpCImEVlHuqp Ud7YGXXFQnstEHJAxVFj+QG6HVFiryRQWYDgFVdk0DsfpCuEac0BpFg9vcyGgcdHpWGwd2VmbFm 2Jxn7mT0bw1nZphJAloDvLgAXX95DVdUgZnaaG6uqQUP7mr+nD/MeLFKbbKIFxvnQHxfN2mGCiz Rzfzup9ANh8Q8o2vSpRHGg3zu+JyYvwfJW3rTOTI/MYWup7Q66t8EhUEiZOlA== X-Received: by 2002:a05:6808:148d:b0:3eb:4681:a895 with SMTP id 5614622812f47-3eb4681acb2mr6984733b6e.7.1733844254877; Tue, 10 Dec 2024 07:24:14 -0800 (PST) Received: from stoup.. ([187.217.227.247]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3eb076b9168sm2776435b6e.14.2024.12.10.07.24.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 07:24:14 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 05/46] tcg/optimize: Use finish_folding in fold_addsub2 Date: Tue, 10 Dec 2024 09:23:20 -0600 Message-ID: <20241210152401.1823648-6-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::233; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x233.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 3f2f351bae..135b14974f 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1292,7 +1292,7 @@ static bool fold_addsub2(OptContext *ctx, TCGOp *op, bool add) op->args[4] = arg_new_constant(ctx, bl); op->args[5] = arg_new_constant(ctx, bh); } - return false; + return finish_folding(ctx, op); } static bool fold_add2(OptContext *ctx, TCGOp *op)