mk: predefine AVX512 macro for compiler
Predefine AVX512 macro if AVX512 is enabled by compiler. Signed-off-by: Zhihong Wang <zhihong.wang@intel.com>
This commit is contained in:
parent
308df2bfba
commit
b0c1e0db6d
@ -89,6 +89,10 @@ ifneq ($(filter $(AUTO_CPUFLAGS),__AVX2__),)
|
|||||||
CPUFLAGS += AVX2
|
CPUFLAGS += AVX2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(filter $(AUTO_CPUFLAGS),__AVX512F__),)
|
||||||
|
CPUFLAGS += AVX512F
|
||||||
|
endif
|
||||||
|
|
||||||
# IBM Power CPU flags
|
# IBM Power CPU flags
|
||||||
ifneq ($(filter $(AUTO_CPUFLAGS),__PPC64__),)
|
ifneq ($(filter $(AUTO_CPUFLAGS),__PPC64__),)
|
||||||
CPUFLAGS += PPC64
|
CPUFLAGS += PPC64
|
||||||
|
Loading…
Reference in New Issue
Block a user