Skip to content

RFC: remove build-type CPU flag macros

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1doc: add deprecation notice for CPU build flagsdoc/guides/rel_notes/deprecation.rst+5 -09 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchJerin JacobThomas MonjalonFerruh Yigit
1/1A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/1] RFC: remove build-type CPU flag macros

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(+)
Signature · 1 line
2.25.1