[dpdk-dev] [PATCH 0/1] RFC: remove build-type CPU flag macros
Bruce Richardson
bruce.richardson at intel.com
Wed Aug 5 16:21:40 CEST 2020
I DPDK as part of our build on all architectures, we define a set of
RTE_MACHINE_CPUFLAG values which are then used in the code. However, as
best I can see, each of these macros just duplicates a shorter macro
provided by the compiler, e.g. RTE_MACHINE_CPUFLAG_SSE3 == __SSE3__,
RTE_MACHINE_CPUFLAG_ALTIVEC == __ALTIVEC__, etc.
Therefore, I propose we remove these macros in 20.11 and just use the
compiler provided ones directly. As such, I'm including a deprecation
notice patch for this change. Please review and ack the deprecation notice
if you approve.
Thanks.
Bruce Richardson (1):
doc: add deprecation notice for CPU build flags
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)
--
2.25.1
More information about the dev
mailing list