mbox series

[0/1] RFC: remove build-type CPU flag macros

Message ID 20200805142141.32337-1-bruce.richardson@intel.com (mailing list archive)
Headers
Series RFC: remove build-type CPU flag macros |

Message

Bruce Richardson Aug. 5, 2020, 2:21 p.m. UTC
  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(+)