test: add check for AVX512F
authorZhiyong Yang <zhiyong.yang@intel.com>
Tue, 19 Sep 2017 02:25:31 +0000 (10:25 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 9 Oct 2017 14:26:35 +0000 (16:26 +0200)
The CPUs which support AVX512 have been released. Add support for
checking AVX512F instruction set.

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
test/test/test_cpuflags.c

index 0e5ebe7..08c1661 100644 (file)
@@ -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);