From: Zhihong Wang Date: Mon, 18 Jan 2016 03:05:11 +0000 (-0500) Subject: mk: predefine AVX512 macro for compiler X-Git-Tag: spdx-start~7674 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b0c1e0db6dd6c4936c4b403fee7a467b0b5fce90;p=dpdk.git mk: predefine AVX512 macro for compiler Predefine AVX512 macro if AVX512 is enabled by compiler. Signed-off-by: Zhihong Wang --- diff --git a/mk/rte.cpuflags.mk b/mk/rte.cpuflags.mk index 28f203b9c6..19a3e7ef9c 100644 --- a/mk/rte.cpuflags.mk +++ b/mk/rte.cpuflags.mk @@ -89,6 +89,10 @@ ifneq ($(filter $(AUTO_CPUFLAGS),__AVX2__),) CPUFLAGS += AVX2 endif +ifneq ($(filter $(AUTO_CPUFLAGS),__AVX512F__),) +CPUFLAGS += AVX512F +endif + # IBM Power CPU flags ifneq ($(filter $(AUTO_CPUFLAGS),__PPC64__),) CPUFLAGS += PPC64