[dpdk-dev] [PATCH v2] test: add check for AVX512F

Zhiyong Yang zhiyong.yang at intel.com
Tue Sep 19 04:25:31 CEST 2017


The CPUs which support AVX512 have been released. Add support for
checking AVX512F instruction set.

Signed-off-by: Zhiyong Yang <zhiyong.yang at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---

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



More information about the dev mailing list