[dpdk-dev] [PATCH] use generated flags for SSE and AVX checks

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Dec 5 16:59:36 CET 2016


2016-12-05 16:34, Thomas Monjalon:
> Clean up the code to always use the flags RTE_MACHINE_CPUFLAG_*
> generated by the DPDK makefile rte.cpuflags.mk.

This patch does not work because RTE_MACHINE_CPUFLAG_* are generated
for the whole library when including rte.vars.mk.
So the flags are not accurate when overriding the flags per file like
it is done in rte_acl.

So the questions are:
	- should we use RTE_MACHINE_CPUFLAG_?
	- should we override the flags per file?
	- will we be able to use the function attribute __target__?


More information about the dev mailing list