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

Signed-off-by: Zhiyong Yang <zhiyong.y...@intel.com>
Acked-by: Bruce Richardson <bruce.richard...@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

Reply via email to