Skip to content

provide toolchain abstracted __builtin_constant_p

Tyler Retzlaff dpdk-dev 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2eal: provide macro for GCC builtin constant intrinsiclib/eal/include/rte_common.h+6 -07 replies
2/2mempool: use rte constant macro instead of GCC builtinlib/mempool/rte_mempool.h+3 -48 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMorten BrørupBruce RichardsonAndrew Rybchenko
1/2R-b A-b R-b
2/2R-b R-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 [PATCH 0/2] provide toolchain abstracted __builtin_constant_p

Decouple direct dependency on GCC built-in __builtin_constant_p provide a new macro __rte_constant(e) that expands to the built-in for GCC and to false for MSVC.

Tyler Retzlaff (2):
eal: provide macro for GCC builtin constant intrinsic
mempool: use rte constant macro instead of GCC builtin

 lib/eal/include/rte_common.h | 6 ++++++
 lib/mempool/rte_mempool.h    | 7 +++----
 2 files changed, 9 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.1