Message ID | 20241222162446.2415717-35-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 g8csp3034469wrq; Sun, 22 Dec 2024 08:27:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWd6ZZbyrdlcxmO1IxFWAoQjGQNN3XLh1S75jMYrdLItUt0qhMZs0hfWBu44h2ZH1pXM7IoMA==@linaro.org X-Google-Smtp-Source: AGHT+IHySS1/kdyJLFmmJoC2FV2sF7zKmk5abyweqmU0k/icUuXs2kRoT9UpdCTCPUcsWZ1JQOCu X-Received: by 2002:a05:622a:1908:b0:466:a51b:6281 with SMTP id d75a77b69052e-46a4a8fad1amr149612481cf.26.1734884852261; Sun, 22 Dec 2024 08:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734884852; cv=none; d=google.com; s=arc-20240605; b=c9dn+5c4556jykJ6hzcc9LTvPUhC+wfxoJzMQRFcxhVqgNQCT822VdTslB7yOZRf96 oJ0kwhkg5aKWTbpa2wDQrOHtDYHQIjU0Y9NYGQ27A/elX4+JHPwo75JhVX4hl7xk/GEp 0uGIoFEtWgLsWFDYo1JHDFMZv8y6V2iS/2DX5lcd4I9Or3ZHbYcdOpjteICZ2bxEKgrY 5zVSuxHqcLgKqmcqx8d/FNqfJCmdJPueKWaWfp0kiVwUnVle18jKpQp+RBHbya8uWcDY qGdU4jL6FarAPUJn1yiQgLspkpf3spw7gQHMz5AtYe/pKWOH3Cz6RgmP0lV9fiE75rIe kctw== 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=6hWcsFdWHMNsqmzeIjMIP3d8ROfJVABrtxubsRYeHio=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=GqJhqCPULrnTofhsdZyn/X9T+Xgjm9myGWa5W8bbizWV2N61rK1xpjsFcp7dSmYzKj G0YP0ET5RknSS7d2ttGz9ghZQ8MrHvVXN8S+GuWPAx5xVYcXvIVN4zMdYmHEjauf3XDB cYJtaToBqTvUzz4GQ6x5FRSzkmKLFGq4aXnES5Nxios5dW5Zh5x4mwXBNYA0YLDhMrYq hz4sHtZhrdAmw3z4AK4jmPqWNAfkbbe+pYDL5+6YqZqD/o8G2CK1UlsHv2w/30N6sCur UZRtVPJC3V7IqUYJW0BhyhglsB7QENi092/Q1UW/nKUxbQEIXr/q7lHjMVWBSR4b6J0v DwtA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bkmvbxZV; 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 d75a77b69052e-46a3ebbeebcsi96369861cf.437.2024.12.22.08.27.32 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Dec 2024 08:27:32 -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=bkmvbxZV; 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 1tPOlz-00030X-QF; Sun, 22 Dec 2024 11:25:43 -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 1tPOlX-0002eI-Jv for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:20 -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 1tPOlW-0003Cz-2R for qemu-devel@nongnu.org; Sun, 22 Dec 2024 11:25:15 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-21649a7bcdcso31421435ad.1 for <qemu-devel@nongnu.org>; Sun, 22 Dec 2024 08:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734884709; x=1735489509; 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=6hWcsFdWHMNsqmzeIjMIP3d8ROfJVABrtxubsRYeHio=; b=bkmvbxZVnQ/j4Efq69bq/mQ0XFuuIk4jkzaQnRh3icSGIoGcq226WnvDZv8cncfp+F 1IE6CLAqNzgOCU9xGjt+z6zfqIZiRLgBhXNE7k2vHj+IE+yg7QefgQHf/tZwJ5vBNf3V 8QigDaZlIoY53ng2eibG1lSmIVBKRRz6AXi5wbkQHZ8zxspiSk+9Pqpl4P1upz7ab2mi fBkeQqxn+XevIvtt4AzqKd7+a0KdZR/bRnfMabB497qKim9YUzn9NjYh0Epfx12rek8O Le5biqNp2GdbyQ2OF0AeKRuMj3j98csoJVyqQokyQx4CTE97x5xaTdjGtxvhpSYahDtS vjGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734884709; x=1735489509; 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=6hWcsFdWHMNsqmzeIjMIP3d8ROfJVABrtxubsRYeHio=; b=bv6hC1dW1urzavUnrNpuNB502dBOErKte0wo+OtJy0rmRE071EiwbFohaJAi0JsOi7 usU6ivUyPS8rfOxpuZPITupxAh+ILkJvHhNGzK/UNWVgFN/0kRN7ItUTk5eN4kb3+ajo y4MtTKM+/30gwqzcszEj/lrUPnlNlw4edRRmewoG1YulnhfpXhqgs2dlInuyVjMC9jAe QuGnBTFMIHlFua9CH+rn00fmRg2QGJ0ex8TlxzFjJDePRyOue5E06HctNz9FncYIbN+9 HJVKnuqila7EcRmDFCEYQ6X7oNYCsb6ynuuhAaklRBom+kQYCGpEmTPT647cHFDAFfTB PtOA== X-Gm-Message-State: AOJu0YyrjNz9JJvudCHs/mk5EZRls8Fv0IyENUwrZumkt1Lu3CtPdJZv avG5Rg/PQyl5ApOH7x3t1EE13h69BUlxVCCKcAjqPHiOFAEQ6rQbe3T4VvZZukiHKb7SZHnf7PB EWpM= X-Gm-Gg: ASbGncuFe1M/HsBt/xZ4icedQs7Cr90Qp4mYqH48/4OpNB49wkWSA2s4UswZb3ATm9G sTZPQXhs/Wc/933w6qFRc3n+ZLzsM43/ODUoXw0XlYzJTZF+qvlITUsSO14cFXB/bC25PS6VKnP slfQAL3pikstLGvLprgRQ0gy+9RaLjw8z/hMlwjhEf/kxYQhbtWzdPwDJmMLqJ+Z8s5QWRuxNYO ZyEdZX7wYjdj2ZjVEtKuJFoN1UY3Cln9kREVUjgrzqzob/zRaGgfrQYFFS5wQI= X-Received: by 2002:a17:903:2a8c:b0:215:9091:4f56 with SMTP id d9443c01a7336-219e6e9f997mr146443195ad.14.1734884709376; Sun, 22 Dec 2024 08:25:09 -0800 (PST) Received: from stoup.. ([71.212.144.252]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc971814sm58461385ad.79.2024.12.22.08.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 08:25:09 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v3 34/51] tcg/optimize: Use fold_masks_z in fold_setcond Date: Sun, 22 Dec 2024 08:24:29 -0800 Message-ID: <20241222162446.2415717-35-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 b401287ce1..b6911faca2 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -2350,8 +2350,7 @@ static bool fold_setcond(OptContext *ctx, TCGOp *op) fold_setcond_tst_pow2(ctx, op, false); } - ctx->z_mask = 1; - return false; + return fold_masks_z(ctx, op, 1); } static bool fold_negsetcond(OptContext *ctx, TCGOp *op)