From patchwork Sun Dec 22 16:24:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 852923 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp3035621wrq; Sun, 22 Dec 2024 08:30:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWEdOa4Vb6UwIAPh02xylcD75JU3WAxr2WxOkTYCo8aAPqhk7mzcRimXoG3lPYzmCTLD2bH0A==@linaro.org X-Google-Smtp-Source: AGHT+IGrgDWYgEdJk2EyGZlQYhSx3q7TaO2TPY9DCwmDzGIf8SIlKA/Txc7ntakIOZlGXzwNgqKP X-Received: by 2002:a05:620a:450d:b0:7b6:d65a:d6ea with SMTP id af79cd13be357-7b9ba7ecafamr1659000085a.46.1734885046685; Sun, 22 Dec 2024 08:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734885046; cv=none; d=google.com; s=arc-20240605; b=bQ/JUoG3A5HgzWsq/rc2tNUp0GSF6mYpABiHkoKIztm9FFwa6gvt0e9NDRuTd/tdks S4QOznffQMe3zGTVDIk2yh2MKVp4Py74+/sK/R2SjwXolhaiy064saM7WG7fn96xV00G XqImo7eziCwKoiKF1D6EOcjdtQDEkMy29XZo3sZELC7Lmc5tFuuy63Odpgi6h6ws5GXF IflrRSHH3JsGBJwCvH54QA3YCwfxGGa9VFs89D3P+Uq/TqROQihQGK5fbaSHcwwrdvQC xu4xe6FJ2wlcvlH4EbdcGSfqmBrYVPCt7qnmcJvhCK3og2LYHy2ZbpYaYDOv1HS/GIgz 5oew== 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=BCm15DE2qtNbKxdOHIXv3FqNquf+1a5gHmhQWuS932Q=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=fxnRYi+ZUDpVumn3eaWLdzT3BNNY+7X6YzdJxEeQF+mTztqr/WrgjPgTlTA4Q/jbgb Uj7R/S/R19B3IOQwQQTvjsEKQSILpef1p+TEzUDOylRwDQSgQFcYSHYARwbOEe/UtWpb F3LlZh/vVczppkGoRUIYI8h0yaOLS74mjpJcM3KqpIIJ2FRzp6jLjpsmjMs5gHtS9dHn 0w1ouCOBQ+lXaNAwvslBGq3oavdUi8XT84LEsijBGzDm1uOZ4H6lxTtbh/JPEPJCO4ZI zZcxTaBFi29PFvzhUGE6/+cdZrw5wurEI/4pujrxgLRtFU3kAWs0aiWk7pXU2IFyGNki R6zQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gV4LJjHh; 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 af79cd13be357-7b9ac2d1045si940509385a.152.2024.12.22.08.30.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Dec 2024 08:30:46 -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=gV4LJjHh; 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 1tPOls-0002uw-OF; Sun, 22 Dec 2024 11:25:36 -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 1tPOlN-0002ao-8Q for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:06 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPOlJ-0002zO-2X for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:04 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2163dc5155fso30200855ad.0 for ; Sun, 22 Dec 2024 08:25:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734884700; x=1735489500; 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=BCm15DE2qtNbKxdOHIXv3FqNquf+1a5gHmhQWuS932Q=; b=gV4LJjHhI1l/mdy2b1nNL4ELQSaIN1p2crEEtsaA+s8U6IBVlvAavaNEFsAkbaGAgO GOf0J9qBh9e1GcjsZRFy5APKoa0I9FuJoI6yaLP0Q78Z2RLRvExH97rETSXHILT+Wwni q1AM0ILPUWVUQ+/xBSjqjLnhfiomNwMkXao96gnSCukc+EW/ax8pGfgciiQWnRqbnuRW GMssGQDovzdHUEjh6ZHYEMbVApyrAAgfDx9N2KxO59W7CfEpU4wBj5IEpfkHn3jjxD+R Jkjw31z0Uyt3VcKxbpbccWyst7XFfz6bJO0zxNrJIdRyORHJR5bXdV3rRMkaN6B7/Oe7 2H5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734884700; x=1735489500; 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=BCm15DE2qtNbKxdOHIXv3FqNquf+1a5gHmhQWuS932Q=; b=xI1gqItgIQVAhOLiMrdIvXN0hTYfJI1VnsJQwD7ZWywe3txKRKP+bAyMbyKeqIGMg2 dqoflu2/oOkrQjtR2ufCkI+mBdGhAJtuplSqLhxhRVVO0eCYjlMW/HYjb40g5G4V2Cfy GkoqQxMuE7zjysj6JPp2VydOhKBY6dm+7wrbtY2cdPQUWJ5+QaZJmsKpnOlf5TXcSbjH 3XLAvJJgLohNjuImMQWkB70/uNxC3eabUHgJO/d7I6A62SAFv8mNdDmh3LvSUWAZKs2I VFNsyLYaJACBZYKex50UOWzAABDVEjYr/k7jIdiTDSpXFHLQUyxX9vDew72uThwmKXja wjuw== X-Gm-Message-State: AOJu0YxAtKQuVL5VAZ9CtgujOmhfRLfgJ9BF4szzLfhbaEdW+S++6k/A 2Uphxu/ahPGrWPg5/Lx4OwIOyRk29GJI5ctfLMDLuCg6yj10FkoBhipTkTv0PIuDM+WCmXn7zu/ 2xsY= X-Gm-Gg: ASbGnctuln0x6ZCuoHCbZX68Fsca7h4H0BupFpaM1EqPQcl/YAT31vUwCEKmKMhLOvX m7D7/DyhfKJ8doEi34HbG1/XEZwahYiLldiKDRLGiTqI+1HKGPdgZ/NWUPVWC7zIjPTjTUh7jii qvuhZPRbSybarRJEfkEIinQ0vzkssVpbXAGELuJ8gIWgSx7zBU28NNV2kfhEhXRXcEqnSM40M43 i+H/riMayoN9fRI6mjbnR/Rl0AnBro/f7554K6BZA5b6rPL+Dv0Z6Je279rui4= X-Received: by 2002:a17:902:d2cc:b0:216:1cfa:2bbf with SMTP id d9443c01a7336-219e6f12dbemr132085575ad.35.1734884699746; Sun, 22 Dec 2024 08:24:59 -0800 (PST) Received: from stoup.. ([71.212.144.252]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc971814sm58461385ad.79.2024.12.22.08.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 08:24:59 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Pierrick Bouvier Subject: [PATCH v3 19/51] tcg/optimize: Use finish_folding in fold_extract2 Date: Sun, 22 Dec 2024 08:24:14 -0800 Message-ID: <20241222162446.2415717-20-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.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 Reviewed-by: Pierrick Bouvier 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 5aca1b3c38..f05110cb9f 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1756,7 +1756,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)