From patchwork Tue Apr 18 07:04:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Haochen" X-Patchwork-Id: 8341 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2636308vqo; Tue, 18 Apr 2023 00:08:18 -0700 (PDT) X-Google-Smtp-Source: AKy350ZnANkbZNra8SyPcKRqXLLx6cS0Y/vYW9wLiGTXt/8QJAvycX/DRwl97Cji9ote1EUNnvuY X-Received: by 2002:a17:906:3a41:b0:94e:afa6:299f with SMTP id a1-20020a1709063a4100b0094eafa6299fmr11484143ejf.22.1681801698084; Tue, 18 Apr 2023 00:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681801698; cv=none; d=google.com; s=arc-20160816; b=X6FLkZOcQq7AsQNMwMPKsPrj376oQK+p3n3qFQs0M0cIbkc8f9DaEmQ1v6ElHiU1pB 7Rgt0Q3C0g9BKR4n5Fz/GWeQJLaoSqOQe2aJWocaiiyN231t5KFWsVfiQKTbRJUFfrkk NUH6WT34w5N2eldNGxF0zNi6TDhYj/cZntLzidPnsPRHgYFCiuBbfBdRCVbYHIR1ARkb him7wMNw3mgIjGpcGwqRMnkgn6hZAbrvtBPmIaQ8uLXXmImf5TK6XGm5fmR5hNM5HJjh 4X5j5GAdW7ucW9hJaAzwV2KkdKscvVB+4PXmBdLXg97OCmJobDzWTnop3e/+D/yl1AeF gDbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=B6GVA+3T2ccibpQXCpUWjJQmtDiYT4Ppxco2koDr+og=; b=ucUj7z+M9q+LLrBKwmqoVc6UoT6vUN8+5wa/DTlghtIqSvSeiDYZ3JQ/90as7h+WH6 Ww/e+WqlwX64RoMCwPJIeuRxjGT40D5CrRBXBEYlHklPLfhg95XM1QfpEe31j2AaUblG 8YZ8rjQnbjIeJsXoJJqmmbv7OT5hW3EbLjWIb+T9/P991eBnDALBd0rWoqPDtdzqYpuP 0DgcPxPDHEfKDks3/R8VjuezGESjSV108ND3rbBKu8YXpwYK4Kv3XFH5wEJznLxgg+Vf wOOr1YMuVFTWmK9TjbJ7U1jLOtsgCRXI7h7wIpeosEYL1I7KzNJG/3PXNIr+dqzMOQ4N 6ueA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=lCJm2gvd; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id wi15-20020a170906fd4f00b0094f335b0660si5546404ejb.185.2023.04.18.00.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 00:08:18 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=lCJm2gvd; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E8D1038555A3 for ; Tue, 18 Apr 2023 07:07:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8D1038555A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681801665; bh=B6GVA+3T2ccibpQXCpUWjJQmtDiYT4Ppxco2koDr+og=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=lCJm2gvd/8sYB/00/g0ubGpJs8IrtqKF75cXO3Du4RV0kGtdqvGXNsnivRm+GTAKO eQHGgh6KrxiPBh139I7O4V8nvwzqZmsk2oQXBW+0nBBgyNNo+KXCbGxclW/b6APSzR SlaYl7Ug/eqeLQXf5u+/5P/enF4uPYFnMm3GrDXI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by sourceware.org (Postfix) with ESMTPS id 4416E3858D28 for ; Tue, 18 Apr 2023 07:06:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4416E3858D28 X-IronPort-AV: E=McAfee;i="6600,9927,10683"; a="346942135" X-IronPort-AV: E=Sophos;i="5.99,206,1677571200"; d="scan'208";a="346942135" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2023 00:06:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10683"; a="760252230" X-IronPort-AV: E=Sophos;i="5.99,206,1677571200"; d="scan'208";a="760252230" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmsmga004.fm.intel.com with ESMTP; 18 Apr 2023 00:06:55 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 1FD1C10081CD; Tue, 18 Apr 2023 15:06:55 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: hongtao.liu@intel.com, ubizjak@gmail.com Subject: [PATCH 0/2] i386: Add missing AVX512BW dependency for ISAs using 32/64 bit mask Date: Tue, 18 Apr 2023 15:04:48 +0800 Message-Id: <20230418070450.4114708-1-haochen.jiang@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Haochen Jiang via Gcc-patches From: "Jiang, Haochen" Reply-To: Haochen Jiang Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763496897152990249?= X-GMAIL-MSGID: =?utf-8?q?1763496897152990249?= Hi all, 32/64 bit mask are introduced in AVX512BW. Therefore, when we are using them, we should imply AVX512BW. The two patches added the dependency and removed the redundant AVX512BW usage for AVX512BITALG and AVX512VBMI2. Tested on x86_64-pc-linux-gnu. Ok for trunk? BRs, Haochen