From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C23CF968 for ; Tue, 19 Sep 2017 04:25:36 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 18 Sep 2017 19:25:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,415,1500966000"; d="scan'208";a="152841718" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182]) by fmsmga005.fm.intel.com with ESMTP; 18 Sep 2017 19:25:34 -0700 From: Zhiyong Yang To: dev@dpdk.org Cc: bruce.richardson@intel.com, Zhiyong Yang Date: Tue, 19 Sep 2017 10:25:31 +0800 Message-Id: <20170919022531.28083-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170908074454.37149-1-zhiyong.yang@intel.com> References: <20170908074454.37149-1-zhiyong.yang@intel.com> Subject: [dpdk-dev] [PATCH v2] test: add check for AVX512F 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: , X-List-Received-Date: Tue, 19 Sep 2017 02:25:37 -0000 The CPUs which support AVX512 have been released. Add support for checking AVX512F instruction set. Signed-off-by: Zhiyong Yang Acked-by: Bruce Richardson --- Changes in V2: reword the title and commit message according to Bruce's comments. test/test/test_cpuflags.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test/test_cpuflags.c b/test/test/test_cpuflags.c index 0e5ebe788..08c166139 100644 --- a/test/test/test_cpuflags.c +++ b/test/test/test_cpuflags.c @@ -171,6 +171,9 @@ test_cpuflags(void) printf("Check for AVX2:\t\t"); CHECK_FOR_FLAG(RTE_CPUFLAG_AVX2); + printf("Check for AVX512F:\t"); + CHECK_FOR_FLAG(RTE_CPUFLAG_AVX512F); + printf("Check for TRBOBST:\t"); CHECK_FOR_FLAG(RTE_CPUFLAG_TRBOBST); -- 2.13.3