[PATCH 0/2] provide toolchain abstracted __builtin_constant_p
David Marchand
david.marchand at redhat.com
Wed Jul 3 16:18:51 CEST 2024
On Wed, Mar 20, 2024 at 10:33 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> 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(-)
Recheck-request: rebase=main, iol-compile-amd64-testing,
iol-unit-amd64-testing, iol-intel-Functional,
iol-compile-arm64-testing, iol-unit-arm64-testing
--
David Marchand
More information about the dev
mailing list