From patchwork Tue Mar 24 11:49:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67046 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F206A057B; Tue, 24 Mar 2020 12:49:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 18EAD1C0DA; Tue, 24 Mar 2020 12:49:30 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 726491C0C4 for ; Tue, 24 Mar 2020 12:49:27 +0100 (CET) IronPort-SDR: 0Bp7ZgUqnPKbbKto/UJVlsVUGw13GIhaCtS0bTl5MQsqQ7UaZJYIpFpF7ZSMWeld2XMbh/7VEz 81nZ58fmGoiQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:26 -0700 IronPort-SDR: PHmY0LVCwpDvjAT2LtHFxi+Kf8CFXrHJSx8Uy+uLdvx2AZtwTMCRISVU3BIPv5M4az+/w9p5Dm 7YgphqVZEO/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356289" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:26 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:05 +0000 Message-Id: <20200324114921.7184-2-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 01/17] eal/cpuflags: add avx512 doubleword and quadword X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 doubleword and quadword instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 2 ++ lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 6492df556..2e2fbec1c 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -120,6 +120,8 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(EM64T, 0x80000001, 0, RTE_REG_EDX, 29) FEAT_DEF(INVTSC, 0x80000007, 0, RTE_REG_EDX, 8) + + FEAT_DEF(AVX512DQ, 0x00000007, 0, RTE_REG_EBX, 17) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 25ba47b96..cec45c382 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -113,6 +113,8 @@ enum rte_cpu_flag_t { /* (EAX 80000007h) EDX features */ RTE_CPUFLAG_INVTSC, /**< INVTSC */ + RTE_CPUFLAG_AVX512DQ, /**< AVX512 Doubleword and Quadword */ + /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ }; From patchwork Tue Mar 24 11:49:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67047 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 38011A057B; Tue, 24 Mar 2020 12:49:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E31E41C116; Tue, 24 Mar 2020 12:49:31 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C87691C0CF for ; Tue, 24 Mar 2020 12:49:28 +0100 (CET) IronPort-SDR: Fci22zP8pj6dDC80vT3O3s0OWW0xt1th2FZt0Cugvd+imvRUjz2PGDFToFmclikq7e7iEivFcC v6EMEKUws/bA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:27 -0700 IronPort-SDR: 6/KrUX/lIzo6TkX//qH8EcAILkWHR1Sk+7uzF17+G2VuRQe/X6J4iqTVrSN/NkuVvLple1AvaZ cH8jLsAdHbuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356292" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:27 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:06 +0000 Message-Id: <20200324114921.7184-3-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 02/17] eal/cpuflags: add avx512 integer fused multiply-add X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 integer fused multiply-add instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 2e2fbec1c..d56bd57f9 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -122,6 +122,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(INVTSC, 0x80000007, 0, RTE_REG_EDX, 8) FEAT_DEF(AVX512DQ, 0x00000007, 0, RTE_REG_EBX, 17) + FEAT_DEF(AVX512IFMA, 0x00000007, 0, RTE_REG_EBX, 21) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index cec45c382..81f510299 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -114,6 +114,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_INVTSC, /**< INVTSC */ RTE_CPUFLAG_AVX512DQ, /**< AVX512 Doubleword and Quadword */ + RTE_CPUFLAG_AVX512IFMA, /**< AVX512 Integer Fused Multiply-Add */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67048 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4447A057B; Tue, 24 Mar 2020 12:49:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9DA361C11A; Tue, 24 Mar 2020 12:49:33 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7063E1C0D8 for ; Tue, 24 Mar 2020 12:49:29 +0100 (CET) IronPort-SDR: j/n9sh8EZE0vA9olrNZKy0CUUxG1uB72iwMWXrm4GPSvUEXy7cwYKVVTtwzg8wHhEBLp/GyY+z PXpuopJDg2Lg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:29 -0700 IronPort-SDR: dcIML1yI5FkePXFuNZiWXjBEEQTCDI045N6mfucsFsZbNNmtkC+jewCa7lovqMFz462LzeWmL0 8FRkKSJhCRoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356300" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:28 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:07 +0000 Message-Id: <20200324114921.7184-4-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 03/17] eal/cpuflags: add avx512 conflict detection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 conflict detection instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index d56bd57f9..928b3513e 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -123,6 +123,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512DQ, 0x00000007, 0, RTE_REG_EBX, 17) FEAT_DEF(AVX512IFMA, 0x00000007, 0, RTE_REG_EBX, 21) + FEAT_DEF(AVX512CD, 0x00000007, 0, RTE_REG_EBX, 28) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 81f510299..248a198a6 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -115,6 +115,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512DQ, /**< AVX512 Doubleword and Quadword */ RTE_CPUFLAG_AVX512IFMA, /**< AVX512 Integer Fused Multiply-Add */ + RTE_CPUFLAG_AVX512CD, /**< AVX512 Conflict Detection*/ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67049 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 559D9A057B; Tue, 24 Mar 2020 12:50:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC5C01C120; Tue, 24 Mar 2020 12:49:34 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 29DD91C10B for ; Tue, 24 Mar 2020 12:49:30 +0100 (CET) IronPort-SDR: 5Sl9Yt080OFDzhEdx98k4mBThVfKvocwlx5660+hmBatR6Qk7C97nhbpy0CZzhzc4ZxoCoZ5lH V0S+65DSGMvw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:30 -0700 IronPort-SDR: zb/LoArYNcp5G3E2PJXR6hW5zXzKylaR5LOv8vYt7zE1BZG24JxzdKTgog7w6jWB/mofiCXCND hI7Uq7BA9f6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356308" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:29 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:08 +0000 Message-Id: <20200324114921.7184-5-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 04/17] eal/cpuflags: add avx512 byte and word X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 byte and word instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 928b3513e..c0bb1bd5c 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -124,6 +124,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512DQ, 0x00000007, 0, RTE_REG_EBX, 17) FEAT_DEF(AVX512IFMA, 0x00000007, 0, RTE_REG_EBX, 21) FEAT_DEF(AVX512CD, 0x00000007, 0, RTE_REG_EBX, 28) + FEAT_DEF(AVX512BW, 0x00000007, 0, RTE_REG_EBX, 30) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 248a198a6..97eeeb247 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -116,6 +116,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512DQ, /**< AVX512 Doubleword and Quadword */ RTE_CPUFLAG_AVX512IFMA, /**< AVX512 Integer Fused Multiply-Add */ RTE_CPUFLAG_AVX512CD, /**< AVX512 Conflict Detection*/ + RTE_CPUFLAG_AVX512BW, /**< AVX512 Byte and Word */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67050 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3C158A057B; Tue, 24 Mar 2020 12:50:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 933541C126; Tue, 24 Mar 2020 12:49:36 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BFE461C10B for ; Tue, 24 Mar 2020 12:49:31 +0100 (CET) IronPort-SDR: B0aGs2g3Iy/DlUuTifghy/tWecj1nDljaLRa7moMTcpiYxEbyO/4N/0QD30dZ3Yd1gzDhYw/UL NidE15yxNOng== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:31 -0700 IronPort-SDR: 1OuCss5c1Mi6zOkyW8sOQ1WqmV1d8pA41ovqLSXUMK+zG12HGZqTOX5Kh/1j1zYD/9nYcoj32N w0QGY6BI2hBA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356314" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:30 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:09 +0000 Message-Id: <20200324114921.7184-6-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 05/17] eal/cpuflags: add avx512 vector length X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 vector length instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index c0bb1bd5c..21cb4b649 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -125,6 +125,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512IFMA, 0x00000007, 0, RTE_REG_EBX, 21) FEAT_DEF(AVX512CD, 0x00000007, 0, RTE_REG_EBX, 28) FEAT_DEF(AVX512BW, 0x00000007, 0, RTE_REG_EBX, 30) + FEAT_DEF(AVX512VL, 0x00000007, 0, RTE_REG_EBX, 31) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 97eeeb247..42181e32c 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -117,6 +117,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512IFMA, /**< AVX512 Integer Fused Multiply-Add */ RTE_CPUFLAG_AVX512CD, /**< AVX512 Conflict Detection*/ RTE_CPUFLAG_AVX512BW, /**< AVX512 Byte and Word */ + RTE_CPUFLAG_AVX512VL, /**< AVX512 Vector Length */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67051 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B240AA057B; Tue, 24 Mar 2020 12:50:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF2C31C12A; Tue, 24 Mar 2020 12:49:37 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 68FB31C119 for ; Tue, 24 Mar 2020 12:49:33 +0100 (CET) IronPort-SDR: qJjEfuqV5EE/cJek6efbl2LidETKhFa5zeCAyddEnpH+hDmE2529V312ZcZGrmIG3pm078VPvZ EjT6RvAUPsJA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:32 -0700 IronPort-SDR: HQaQJ9j62yGri58HnnMhMKrT5E39bza9tKtNTkSw+HFfL+dTJ6XAooJG2L1epy8F8uzJqG9JMX Y/40lot0Xa7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356317" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:31 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:10 +0000 Message-Id: <20200324114921.7184-7-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 06/17] eal/cpuflags: add avx512 vector bit manipulation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 vector bit manipulation instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 21cb4b649..773b14074 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -126,6 +126,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512CD, 0x00000007, 0, RTE_REG_EBX, 28) FEAT_DEF(AVX512BW, 0x00000007, 0, RTE_REG_EBX, 30) FEAT_DEF(AVX512VL, 0x00000007, 0, RTE_REG_EBX, 31) + FEAT_DEF(AVX512VBMI, 0x00000007, 0, RTE_REG_ECX, 1) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 42181e32c..453193875 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -118,6 +118,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512CD, /**< AVX512 Conflict Detection*/ RTE_CPUFLAG_AVX512BW, /**< AVX512 Byte and Word */ RTE_CPUFLAG_AVX512VL, /**< AVX512 Vector Length */ + RTE_CPUFLAG_AVX512VBMI, /**< AVX512 Vector Bit Manipulation */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67052 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A1058A057B; Tue, 24 Mar 2020 12:50:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 148521C130; Tue, 24 Mar 2020 12:49:39 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 218EB1C119 for ; Tue, 24 Mar 2020 12:49:33 +0100 (CET) IronPort-SDR: LGxoPK65Zsd0+5Z5r3QpMjWgN4wPU8PSewpIDttrvBny3rf8nOJM4OghUWa3+JhQjv121e2jtG CX2OUUi4QftA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:33 -0700 IronPort-SDR: Do/dl7YBtDQQ8mZWGn9YxjqhFezh32CBdLIIabnWs6H0c9dShoPiMEL8YS2h+Nu2H3FlsXg0II OBJwNWARDedQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356321" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:33 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:11 +0000 Message-Id: <20200324114921.7184-8-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 07/17] eal/cpuflags: add avx512 vector bit manipulation 2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 vector bit manipulation 2 instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 773b14074..d1ef7e229 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -127,6 +127,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512BW, 0x00000007, 0, RTE_REG_EBX, 30) FEAT_DEF(AVX512VL, 0x00000007, 0, RTE_REG_EBX, 31) FEAT_DEF(AVX512VBMI, 0x00000007, 0, RTE_REG_ECX, 1) + FEAT_DEF(AVX512VBMI2, 0x00000007, 0, RTE_REG_ECX, 6) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 453193875..8544f9dca 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -119,6 +119,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512BW, /**< AVX512 Byte and Word */ RTE_CPUFLAG_AVX512VL, /**< AVX512 Vector Length */ RTE_CPUFLAG_AVX512VBMI, /**< AVX512 Vector Bit Manipulation */ + RTE_CPUFLAG_AVX512VBMI2, /**< AVX512 Vector Bit Manipulation 2 */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67053 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE2B4A057B; Tue, 24 Mar 2020 12:50:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 25F301C136; Tue, 24 Mar 2020 12:49:40 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4B15E1C122 for ; Tue, 24 Mar 2020 12:49:35 +0100 (CET) IronPort-SDR: 2cUBepyTwhTyL7oxuroCFmoy3ffvDccTHf6fEJWsDjVa1Uwe3btmpoZjU3lijMuWaBCiKAEka/ qMINVIEAxKSQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:35 -0700 IronPort-SDR: E6R0ZfBy8cN1XIMnH5PICgr6wOGWF8r7HfATdQkkUiNPnLBtGv2HHIFca+jN6Wp0eihbIvs7EU J3p1liDTVKSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356325" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:34 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:12 +0000 Message-Id: <20200324114921.7184-9-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 08/17] eal/cpuflags: add galois field new instructions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for Galois field new instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index d1ef7e229..c2a484789 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -128,6 +128,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512VL, 0x00000007, 0, RTE_REG_EBX, 31) FEAT_DEF(AVX512VBMI, 0x00000007, 0, RTE_REG_ECX, 1) FEAT_DEF(AVX512VBMI2, 0x00000007, 0, RTE_REG_ECX, 6) + FEAT_DEF(GFNI, 0x00000007, 0, RTE_REG_ECX, 8) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 8544f9dca..94714c98b 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -120,6 +120,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512VL, /**< AVX512 Vector Length */ RTE_CPUFLAG_AVX512VBMI, /**< AVX512 Vector Bit Manipulation */ RTE_CPUFLAG_AVX512VBMI2, /**< AVX512 Vector Bit Manipulation 2 */ + RTE_CPUFLAG_GFNI, /**< Galois Field New Instructions */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67054 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CD31DA057B; Tue, 24 Mar 2020 12:50:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 28DC11C18E; Tue, 24 Mar 2020 12:49:41 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 747BA1C122 for ; Tue, 24 Mar 2020 12:49:36 +0100 (CET) IronPort-SDR: yQ8gi7tza92F52qbtqbAnblZmkw7lYqEQAb0JlTASecHb3pgLUowXP1po4e/OBfWCYhGuCVeqk 445e9acnlPUw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:36 -0700 IronPort-SDR: iTQWRe7QkmhAEaMYWGCVY11XWyHOyn9l6jX/c5o6Gw0Wm5HMUYNmYDyRVOWKUfUX++DarJ6peA 61ftEDaWAN2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356329" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:35 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:13 +0000 Message-Id: <20200324114921.7184-10-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 09/17] eal/cpuflags: add vector AES X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for vector AES instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index c2a484789..d4caf76d8 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -129,6 +129,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512VBMI, 0x00000007, 0, RTE_REG_ECX, 1) FEAT_DEF(AVX512VBMI2, 0x00000007, 0, RTE_REG_ECX, 6) FEAT_DEF(GFNI, 0x00000007, 0, RTE_REG_ECX, 8) + FEAT_DEF(VAES, 0x00000007, 0, RTE_REG_ECX, 9) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 94714c98b..22efc166f 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -121,6 +121,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512VBMI, /**< AVX512 Vector Bit Manipulation */ RTE_CPUFLAG_AVX512VBMI2, /**< AVX512 Vector Bit Manipulation 2 */ RTE_CPUFLAG_GFNI, /**< Galois Field New Instructions */ + RTE_CPUFLAG_VAES, /**< Vector AES */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67055 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C7FEA057B; Tue, 24 Mar 2020 12:50:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FF411C194; Tue, 24 Mar 2020 12:49:42 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9CD351C124 for ; Tue, 24 Mar 2020 12:49:37 +0100 (CET) IronPort-SDR: pvjcP1yEX/TWuBrYpgsXd/RpOoJmyyMOoxGMd9vArOcYOtbVCnrNMSxZvmF/o1RnfUH4jmtG1I IX57q25ppN1A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:37 -0700 IronPort-SDR: dX7WRnUBW7fIASnDLwwy1gTkWtyKiClLHy/3ARN4tmNbfPXB4HKvMgwgGkyHyxFgmjA0Dy8w4N cOOuhzn31oZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356336" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:36 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:14 +0000 Message-Id: <20200324114921.7184-11-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 10/17] eal/cpuflags: add vector carry-less multiply X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for vector carry-less multiply instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index d4caf76d8..b01f35e1a 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -130,6 +130,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512VBMI2, 0x00000007, 0, RTE_REG_ECX, 6) FEAT_DEF(GFNI, 0x00000007, 0, RTE_REG_ECX, 8) FEAT_DEF(VAES, 0x00000007, 0, RTE_REG_ECX, 9) + FEAT_DEF(VPCLMULQDQ, 0x00000007, 0, RTE_REG_ECX, 10) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 22efc166f..cbcb1cf71 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -122,6 +122,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512VBMI2, /**< AVX512 Vector Bit Manipulation 2 */ RTE_CPUFLAG_GFNI, /**< Galois Field New Instructions */ RTE_CPUFLAG_VAES, /**< Vector AES */ + RTE_CPUFLAG_VPCLMULQDQ, /**< Vector Carry-less Multiply */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67056 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08C7EA057B; Tue, 24 Mar 2020 12:51:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C31001C19B; Tue, 24 Mar 2020 12:49:44 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C67CE1C12E for ; Tue, 24 Mar 2020 12:49:38 +0100 (CET) IronPort-SDR: 2p8l9OWu1t8rgmVHmYvWYftxzOiNW2zQFgmWZxTL7nbMDRB8QeaX+l6bMRGOG+y0YpuafbKqEG ep3TqZRibTsA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:38 -0700 IronPort-SDR: gRQsAn1wWnGRGRSdMTQ9S6/Z0r1i9bnc7cwLjn65Bd6ZAXK1gcvIKQo45baGeE0L7Zg146mMAt voBj9khN3NXQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356341" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:37 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:15 +0000 Message-Id: <20200324114921.7184-12-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 11/17] eal/cpuflags: add avx512 vector neural network instructions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 vector neural network instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index b01f35e1a..f82d45647 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -131,6 +131,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(GFNI, 0x00000007, 0, RTE_REG_ECX, 8) FEAT_DEF(VAES, 0x00000007, 0, RTE_REG_ECX, 9) FEAT_DEF(VPCLMULQDQ, 0x00000007, 0, RTE_REG_ECX, 10) + FEAT_DEF(AVX512VNNI, 0x00000007, 0, RTE_REG_ECX, 11) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index cbcb1cf71..caf92b9f3 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -123,6 +123,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_GFNI, /**< Galois Field New Instructions */ RTE_CPUFLAG_VAES, /**< Vector AES */ RTE_CPUFLAG_VPCLMULQDQ, /**< Vector Carry-less Multiply */ + RTE_CPUFLAG_AVX512VNNI, /**< AVX512 Vector Neural Network Instructions */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67057 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68D7EA057B; Tue, 24 Mar 2020 12:51:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 169D91C1A0; Tue, 24 Mar 2020 12:49:47 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F111F1C133 for ; Tue, 24 Mar 2020 12:49:39 +0100 (CET) IronPort-SDR: fU+7YfPekGv8qcxBagvRKaZxREu/393Kfbw73QvioHJw5+NCspKW86O8PiFljw3X0o04Mie/cY /jveKLOG0GWQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:39 -0700 IronPort-SDR: WftQ4Mqo9pEQt9W5/NoB5z8qCI2YUSVks0C2oIrgxtOFYwx6aYDVJNhLrIvTrsBQXE54ruf4Ny Oj29R/vPdAsg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356347" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:38 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:16 +0000 Message-Id: <20200324114921.7184-13-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 12/17] eal/cpuflags: add avx512 bit algorithms X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag AVX-512 for bit algorithm instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index f82d45647..472becfed 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -132,6 +132,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(VAES, 0x00000007, 0, RTE_REG_ECX, 9) FEAT_DEF(VPCLMULQDQ, 0x00000007, 0, RTE_REG_ECX, 10) FEAT_DEF(AVX512VNNI, 0x00000007, 0, RTE_REG_ECX, 11) + FEAT_DEF(AVX512BITALG, 0x00000007, 0, RTE_REG_ECX, 12) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index caf92b9f3..fe4144fc0 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -124,6 +124,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_VAES, /**< Vector AES */ RTE_CPUFLAG_VPCLMULQDQ, /**< Vector Carry-less Multiply */ RTE_CPUFLAG_AVX512VNNI, /**< AVX512 Vector Neural Network Instructions */ + RTE_CPUFLAG_AVX512BITALG, /**< AVX512 Bit Algorithms */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67058 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA45BA057B; Tue, 24 Mar 2020 12:51:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E55F1C1A4; Tue, 24 Mar 2020 12:49:48 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2511E1C13B for ; Tue, 24 Mar 2020 12:49:40 +0100 (CET) IronPort-SDR: EBFLBTkPlcVKgqxjx3ymQdeSyZgN0b8a8HwRe7cy7e5NouFaRZ3ra9oC2T9r1GVeUrob0DZzuc w8ue8D+0VI5w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:40 -0700 IronPort-SDR: 0JHDZQZPB329fQsy3QYf5WNQ5JazgBCTuhworCJ2NbvjG3Ak+NGWPwLFpjcb/aRuOaOcYRDwFI MP+27CpLPQiA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356354" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:40 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:17 +0000 Message-Id: <20200324114921.7184-14-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 13/17] eal/cpuflags: add avx512 vector popcount X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 vector popcount instructions. Signed-off-by: Harry van Haaren Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 472becfed..0b1458d77 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -133,6 +133,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(VPCLMULQDQ, 0x00000007, 0, RTE_REG_ECX, 10) FEAT_DEF(AVX512VNNI, 0x00000007, 0, RTE_REG_ECX, 11) FEAT_DEF(AVX512BITALG, 0x00000007, 0, RTE_REG_ECX, 12) + FEAT_DEF(AVX512VPOPCNTDQ, 0x00000007, 0, RTE_REG_ECX, 14) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index fe4144fc0..63281ef5e 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -125,6 +125,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_VPCLMULQDQ, /**< Vector Carry-less Multiply */ RTE_CPUFLAG_AVX512VNNI, /**< AVX512 Vector Neural Network Instructions */ RTE_CPUFLAG_AVX512BITALG, /**< AVX512 Bit Algorithms */ + RTE_CPUFLAG_AVX512VPOPCNTDQ, /**< AVX512 Vector Popcount */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67059 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B3F9AA057B; Tue, 24 Mar 2020 12:51:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0C7D1C1A9; Tue, 24 Mar 2020 12:49:49 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 551F71C191 for ; Tue, 24 Mar 2020 12:49:42 +0100 (CET) IronPort-SDR: tLQFbd0zn3GOUX4SpvYeQ57jgcyhCPo3zLuhjn/DLhZh2WqYMI3woxFeJ55JzIlEK8t8tKivLQ HbMLkZUxFKQQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:42 -0700 IronPort-SDR: iVv/uCegrI8jaiCwhvO50iCWX0Z5NMOcG1rPfYnSwO8W6XB2wooe6vt+efDZ7agNegDedZRJjH 6Ea2inDU8pyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356360" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:41 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:18 +0000 Message-Id: <20200324114921.7184-15-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 14/17] eal/cpuflags: add cache line demote X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for cache line demote instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 0b1458d77..ac1de715d 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -134,6 +134,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512VNNI, 0x00000007, 0, RTE_REG_ECX, 11) FEAT_DEF(AVX512BITALG, 0x00000007, 0, RTE_REG_ECX, 12) FEAT_DEF(AVX512VPOPCNTDQ, 0x00000007, 0, RTE_REG_ECX, 14) + FEAT_DEF(CLDEMOTE, 0x00000007, 0, RTE_REG_ECX, 25) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 63281ef5e..3a60f3e68 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -126,6 +126,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512VNNI, /**< AVX512 Vector Neural Network Instructions */ RTE_CPUFLAG_AVX512BITALG, /**< AVX512 Bit Algorithms */ RTE_CPUFLAG_AVX512VPOPCNTDQ, /**< AVX512 Vector Popcount */ + RTE_CPUFLAG_CLDEMOTE, /**< Cache Line Demote */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67060 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B4A6A057B; Tue, 24 Mar 2020 12:51:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E74361C1B0; Tue, 24 Mar 2020 12:49:50 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 728801C11F for ; Tue, 24 Mar 2020 12:49:43 +0100 (CET) IronPort-SDR: CRUr19mZfZJfjvMCwmGmUi25xaJDnFgyA5kBe9AH/F5DxCvL34uJZM+VXEqwg9q51mKYu3qgx0 4zuiFpDBlxTA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:43 -0700 IronPort-SDR: OxfGqlVnIR6aoRty48x/Zq/coKj9T9RrvLUxU8pt5puvyHQyF89Czs3S3zSed8TZUBf/DS3bru A26FmS/qh3Hg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356364" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:42 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:19 +0000 Message-Id: <20200324114921.7184-16-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 15/17] eal/cpuflags: add direct store instructions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for direct store instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index ac1de715d..eb9f6b59d 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -135,6 +135,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512BITALG, 0x00000007, 0, RTE_REG_ECX, 12) FEAT_DEF(AVX512VPOPCNTDQ, 0x00000007, 0, RTE_REG_ECX, 14) FEAT_DEF(CLDEMOTE, 0x00000007, 0, RTE_REG_ECX, 25) + FEAT_DEF(MOVDIRI, 0x00000007, 0, RTE_REG_ECX, 27) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 3a60f3e68..b39abfc38 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -127,6 +127,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512BITALG, /**< AVX512 Bit Algorithms */ RTE_CPUFLAG_AVX512VPOPCNTDQ, /**< AVX512 Vector Popcount */ RTE_CPUFLAG_CLDEMOTE, /**< Cache Line Demote */ + RTE_CPUFLAG_MOVDIRI, /**< Direct Store Instructions */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67061 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39E5AA057B; Tue, 24 Mar 2020 12:51:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E9C11C1B5; Tue, 24 Mar 2020 12:49:52 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A554E1C125 for ; Tue, 24 Mar 2020 12:49:44 +0100 (CET) IronPort-SDR: cV8J2GlPp82RB9DTaaimws38l5t+iBARbR0dFpdP6GU8B9qAVqS42nAolD8xF3xBQiI7tqinJ/ S5mbOUT+78lg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:44 -0700 IronPort-SDR: TP4e+BaxNDfru4YTDZN+Bl8v2BPQrtUJG1YYmGkbxbsCmHZMVy7s46nx4Prime4V1Aha+bEoxo VvLP24KqQ6hQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356376" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:43 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:20 +0000 Message-Id: <20200324114921.7184-17-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 16/17] eal/cpuflags: add direct store instructions 64B X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for direct store 64B instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index eb9f6b59d..164381684 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -136,6 +136,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(AVX512VPOPCNTDQ, 0x00000007, 0, RTE_REG_ECX, 14) FEAT_DEF(CLDEMOTE, 0x00000007, 0, RTE_REG_ECX, 25) FEAT_DEF(MOVDIRI, 0x00000007, 0, RTE_REG_ECX, 27) + FEAT_DEF(MOVDIR64B, 0x00000007, 0, RTE_REG_ECX, 28) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index b39abfc38..2379d073d 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -128,6 +128,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_AVX512VPOPCNTDQ, /**< AVX512 Vector Popcount */ RTE_CPUFLAG_CLDEMOTE, /**< Cache Line Demote */ RTE_CPUFLAG_MOVDIRI, /**< Direct Store Instructions */ + RTE_CPUFLAG_MOVDIR64B, /**< Direct Store Instructions 64B */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */ From patchwork Tue Mar 24 11:49:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Laatz X-Patchwork-Id: 67062 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BBF8FA057B; Tue, 24 Mar 2020 12:51:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E0AE1C1BB; Tue, 24 Mar 2020 12:49:53 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id CAE021C129 for ; Tue, 24 Mar 2020 12:49:45 +0100 (CET) IronPort-SDR: up94yk1JVxiLBKBMRPmqXHulcXgUyQ7uAZ2r0lxC2h4jigROdknzC5HVKyUtQilusZqltJtICn 8OM6tyDoxsMQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 04:49:45 -0700 IronPort-SDR: acOE3kqMrfLUthbuJt9LvHLELAjbbXNYrBvBpK/U1SKHEwZehX6880e05KKnJP8CwsuoFlPGx9 m5MkNvtjkCVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,300,1580803200"; d="scan'208";a="270356383" Received: from silpixa00399838.ir.intel.com (HELO silpixa00399838.ger.corp.intel.com) ([10.237.222.98]) by fmsmga004.fm.intel.com with ESMTP; 24 Mar 2020 04:49:44 -0700 From: Kevin Laatz To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, Kevin Laatz Date: Tue, 24 Mar 2020 11:49:21 +0000 Message-Id: <20200324114921.7184-18-kevin.laatz@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200324114921.7184-1-kevin.laatz@intel.com> References: <20200324114921.7184-1-kevin.laatz@intel.com> Subject: [dpdk-dev] [PATCH 17/17] eal/cpuflags: add avx512 two register intersection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the CPU flag for AVX-512 two register intersection instructions. Signed-off-by: Kevin Laatz --- lib/librte_eal/common/arch/x86/rte_cpuflags.c | 1 + lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cpuflags.c b/lib/librte_eal/common/arch/x86/rte_cpuflags.c index 164381684..30439e795 100644 --- a/lib/librte_eal/common/arch/x86/rte_cpuflags.c +++ b/lib/librte_eal/common/arch/x86/rte_cpuflags.c @@ -137,6 +137,7 @@ const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(CLDEMOTE, 0x00000007, 0, RTE_REG_ECX, 25) FEAT_DEF(MOVDIRI, 0x00000007, 0, RTE_REG_ECX, 27) FEAT_DEF(MOVDIR64B, 0x00000007, 0, RTE_REG_ECX, 28) + FEAT_DEF(AVX512VP2INTERSECT, 0x00000007, 0, RTE_REG_EDX, 8) }; int diff --git a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h index 2379d073d..f8f73b19f 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h +++ b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h @@ -129,6 +129,7 @@ enum rte_cpu_flag_t { RTE_CPUFLAG_CLDEMOTE, /**< Cache Line Demote */ RTE_CPUFLAG_MOVDIRI, /**< Direct Store Instructions */ RTE_CPUFLAG_MOVDIR64B, /**< Direct Store Instructions 64B */ + RTE_CPUFLAG_AVX512VP2INTERSECT, /**< AVX512 Two Register Intersection */ /* The last item */ RTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */