git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308df2b
)
mk: predefine AVX512 macro for compiler
author
Zhihong Wang
<zhihong.wang@intel.com>
Mon, 18 Jan 2016 03:05:11 +0000
(22:05 -0500)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 27 Jan 2016 20:14:52 +0000
(21:14 +0100)
Predefine AVX512 macro if AVX512 is enabled by compiler.
Signed-off-by: Zhihong Wang <zhihong.wang@intel.com>
mk/rte.cpuflags.mk
patch
|
blob
|
history
diff --git
a/mk/rte.cpuflags.mk
b/mk/rte.cpuflags.mk
index
28f203b
..
19a3e7e
100644
(file)
--- 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