Message ID | 20220303205944.469445-9-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 54e2d650ddea28968160dee6d51cccd4dbfc7aea |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:f585:0:0:0:0:0 with SMTP id s5csp987637imq; Thu, 3 Mar 2022 13:16:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/Hporg69yuzq0NvfdGhceN/5zPU+mT+EbsEJLUuhcB39mtK+NneB46aJk7ZUmHD9njKKj X-Received: by 2002:a25:f308:0:b0:628:865a:e11e with SMTP id c8-20020a25f308000000b00628865ae11emr13458243ybs.507.1646342213415; Thu, 03 Mar 2022 13:16:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646342213; cv=none; d=google.com; s=arc-20160816; b=Gtr+verg+n8rzmfzp+WuZdNLCxX7H3xygOYAFBT199qqVrMLnI2j18aukoHrsuMcw2 /VQWz5I3Tc5FKQd5OmPqs7sRSQAag0qsKQogNjoHtLieG8Fd5iNroC8KyHP7JdETYhMb Pp4tE5rCibCrkABvUpxLDsHhT5/n8rTKCy/HSCXLDUSmB5Qi6K30msmKPoVJlNhLihWA jBoOGNQAWykPjKr/TKaR71xObZAo6btLzY7QtsXwYZp/SwWYxpAfBDnZRiUkMSKZnL5f NGwSqo659OpIFIYP94wDm8HZ5eFA3ZkO70C77fmnOPBwrl16//8phBT2u4boZnwF0Ijj 7J6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=z75EGj4CNGTU3HtUoe8PTzeS4bhGOlSVRpDZyhuG0Pw=; b=iJPNfvWHB4R9pBpkkkRk3P2OzNtnuDfkJyAM8oE4pPCXn7lZnFaWpbY/q+aC1Po8Tu QaYz3skstLeL9ZCUlqAcuUOiIdUfa9LtVItwHIGbOzn1uY3YmvJrEERtZmlo5p9GvlhN Lr5klc4R/WDNV0jV/BS0/7UISIZDhJXBVObBSOOIDGaPpgBpWVyFgGrwlfUsDD03e8Zg An5rKpKJU53w8coeYL/0OZXY4uU1Ro4HO+5lMa4Uu0pyqGkzXE1X9wxWnXL/gxZAv0ZF srRp7clnpqSBNvD7Zrk6GS9wGiJka9v82lRYclyH5NJ1J0OeBwHu/RodqtakLXDO7zIh K7Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=joT1F4WB; 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 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 h135-20020a25d08d000000b00628967ae34asi2629262ybg.646.2022.03.03.13.16.53 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Mar 2022 13:16:53 -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=joT1F4WB; 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 Received: from localhost ([::1]:44530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nPsoe-0004aH-RY for patch@linaro.org; Thu, 03 Mar 2022 16:16:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58912) 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 1nPsYM-0005kv-Rs for qemu-devel@nongnu.org; Thu, 03 Mar 2022 16:00:02 -0500 Received: from [2607:f8b0:4864:20::62f] (port=43945 helo=mail-pl1-x62f.google.com) 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 1nPsYL-00044B-2w for qemu-devel@nongnu.org; Thu, 03 Mar 2022 16:00:02 -0500 Received: by mail-pl1-x62f.google.com with SMTP id e2so5861240pls.10 for <qemu-devel@nongnu.org>; Thu, 03 Mar 2022 13:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z75EGj4CNGTU3HtUoe8PTzeS4bhGOlSVRpDZyhuG0Pw=; b=joT1F4WBbnIx1tRrBmaQwQo40/nUV/bJeGqeHko7w3LjW63yOtt/3I5DTfSMR3Ai51 gEeH4cJh+lhxM8xObbEg2nM2nEkV3mt1k3MOnv1a7/be3enVxTlTzr5olM++bANxy22O nT4gWJi1TO1P7tbB/0BebWNkE2WOfpb89JnY3uKf35I9bfQo6qVj0x5wO2XvyIgm2dvH AKnJK8HLP4xWKm9y3JrxSd/cgfcJkTkuxykndPl3gyI7OtMoBKiToLhYg4qffwtkIIeY 2JiGKqXEbqq716VXKmSiBRLwR5oj84pVxqc4o2BwHI2pXacGOGnlKIAXdZ2qUsj1Mdgk VFvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z75EGj4CNGTU3HtUoe8PTzeS4bhGOlSVRpDZyhuG0Pw=; b=Ujix6RwvVACGyif7I1CzbJfMWTR3u4ZzVCE9vBy4m0xiXP1bZ1K8eA1KdhxReo96CN n6/UFEl84goT3l/sk5+U2UdkxxSQ1EsybPQdU+B7zaUFNsDeqlKe8br2+ZHG1atMtfeM ZB8NGYi0kUljyHD5fiXjINrRJXK8OpyQdoRYiSw4zNEj3Jmc9EN+RSsj53xiq+n76B/y N8upiy/6In6wsRrE8MiVfKqgK1v33/Goy+plrlUaledI7w1sSr4ZTV1eSmDdprCXcJ9N Twkkstg8WdYTs2jKUO/nitBRRYK3snsrkhD6S9O2ViCpEbAzGIYhK/955BRYOJmAQi4T ae8A== X-Gm-Message-State: AOAM530/BHJKBJN3Ny+HU58fm8t7f0IjZ09Dr9D3ylleFsESIs0PL4tv WGUvcVcVgwaL6cx1ZwIzTiNydrALNQacnQ== X-Received: by 2002:a17:902:f643:b0:14d:7b8f:14b3 with SMTP id m3-20020a170902f64300b0014d7b8f14b3mr38114402plg.19.1646341199788; Thu, 03 Mar 2022 12:59:59 -0800 (PST) Received: from localhost.localdomain (2603-800c-1201-c600-119c-490c-a4ee-08e8.res6.spectrum.com. [2603:800c:1201:c600:119c:490c:a4ee:8e8]) by smtp.gmail.com with ESMTPSA id t8-20020a6549c8000000b00372eb3a7fb3sm2729934pgs.92.2022.03.03.12.59.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 12:59:59 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 08/30] tcg/i386: Use tcg_can_emit_vec_op in expand_vec_cmp_noinv Date: Thu, 3 Mar 2022 10:59:22 -1000 Message-Id: <20220303205944.469445-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220303205944.469445-1-richard.henderson@linaro.org> References: <20220303205944.469445-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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> Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/30] tcg/optimize: only read val after const check
|
expand
|
diff --git a/tcg/i386/tcg-target.c.inc b/tcg/i386/tcg-target.c.inc index 89497b2b45..6a53f378cc 100644 --- a/tcg/i386/tcg-target.c.inc +++ b/tcg/i386/tcg-target.c.inc @@ -3620,28 +3620,28 @@ static bool expand_vec_cmp_noinv(TCGType type, unsigned vece, TCGv_vec v0, fixup = NEED_SWAP | NEED_INV; break; case TCG_COND_LEU: - if (vece <= MO_32) { + if (tcg_can_emit_vec_op(INDEX_op_umin_vec, type, vece)) { fixup = NEED_UMIN; } else { fixup = NEED_BIAS | NEED_INV; } break; case TCG_COND_GTU: - if (vece <= MO_32) { + if (tcg_can_emit_vec_op(INDEX_op_umin_vec, type, vece)) { fixup = NEED_UMIN | NEED_INV; } else { fixup = NEED_BIAS; } break; case TCG_COND_GEU: - if (vece <= MO_32) { + if (tcg_can_emit_vec_op(INDEX_op_umax_vec, type, vece)) { fixup = NEED_UMAX; } else { fixup = NEED_BIAS | NEED_SWAP | NEED_INV; } break; case TCG_COND_LTU: - if (vece <= MO_32) { + if (tcg_can_emit_vec_op(INDEX_op_umax_vec, type, vece)) { fixup = NEED_UMAX | NEED_INV; } else { fixup = NEED_BIAS | NEED_SWAP;