From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E00A45562; Wed, 3 Jul 2024 16:19:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 716C54279C; Wed, 3 Jul 2024 16:19:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C8739410FA for ; Wed, 3 Jul 2024 16:19:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720016348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2PhDho4tazYe1NqJFv0JDZMdizRA2U1yGDdxDss3gbs=; b=DJSfv0ekCQ1rUu8Np7c7IVFRGSbTlO1Az8187tdEqg23Nwsdd4HVqdvF0tar7E5+va8JOb YtesZRG7zeXZ4XMqepYIJt0BrbKw/L/k7j5wq5sPIAcEtXMyQJSYHsybYEM8htOz3aFJH8 zkHsnG0uKdCUg2JMcf8k2iaaGETMVuQ= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-230-91P9l1AvMNW2ptnoeko8Xw-1; Wed, 03 Jul 2024 10:19:07 -0400 X-MC-Unique: 91P9l1AvMNW2ptnoeko8Xw-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2ee4a63e95cso54417611fa.1 for ; Wed, 03 Jul 2024 07:19:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720016345; x=1720621145; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2PhDho4tazYe1NqJFv0JDZMdizRA2U1yGDdxDss3gbs=; b=Fnxn0Ru55TxfpLfTcNTIlCZCAKG32yZ8prTH4A6MkLGG/SHCaR3TyzCc4bQcAQkYyJ VU2douctjP1jFxiSzKcc8JBNjVlVuhcGcEQtIeCSLntj1aUy5kWfQxiTDzWGY58N2zZX 8whUGF/EyvmH5N4eOyjVtdvUyarZHNCu1ntET5hp3AFpCdVd7nC+oPK724wlq0xWQ/jy f0F/jejl1AvQm7l8+jxsKS9Rz5cWKRpqGXhRm43ovE6dOYKwa1bjlaTYmN6JpxGAbTDa BL15HVavmpn1i4JtMfcBxJRlplWEIm3Bevvm+Hcq25eR9FwC2X6n12rUrhm7NZ+3nkqh OxeA== X-Gm-Message-State: AOJu0YwQZ8A36/51haZX+e5/GU9MiCGRAlUtaX88CfZUp6k5GMC9Fo+s hL2MeAgJeLDrRNBhUjWBnNt6YvrKaFOdU54m80KhNuk1obVSEoI96jdbFASZg1v0qYhRpTHkWdF OGAwqLWEFDJqqE0li1KuEgVCdBV0kQK+CfMMrlgAYHtsYi25nG0a6v6QXAF9aLYAKQ28WZ5ODsz FtWSNaKycLHgQZ2Qw= X-Received: by 2002:a2e:b888:0:b0:2ee:4f93:ae25 with SMTP id 38308e7fff4ca-2ee5e4c3ae4mr86580151fa.29.1720016345616; Wed, 03 Jul 2024 07:19:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGHYRJqamURpTnPtXQtJ9YgOuxuUSniDgDX4CrLpO4Vqj83zmCD4pHH0bjzpklZQ/7o60JLT4h0EDNl+YVym2U= X-Received: by 2002:a2e:b888:0:b0:2ee:4f93:ae25 with SMTP id 38308e7fff4ca-2ee5e4c3ae4mr86579951fa.29.1720016345246; Wed, 03 Jul 2024 07:19:05 -0700 (PDT) MIME-Version: 1.0 References: <1710970416-27841-1-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: <1710970416-27841-1-git-send-email-roretzla@linux.microsoft.com> From: David Marchand Date: Wed, 3 Jul 2024 16:18:51 +0200 Message-ID: Subject: Re: [PATCH 0/2] provide toolchain abstracted __builtin_constant_p To: Tyler Retzlaff Cc: dev@dpdk.org, =?UTF-8?Q?Morten_Br=C3=B8rup?= , Andrew Rybchenko X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Mar 20, 2024 at 10:33=E2=80=AFPM Tyler Retzlaff 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=3Dmain, iol-compile-amd64-testing, iol-unit-amd64-testing, iol-intel-Functional, iol-compile-arm64-testing, iol-unit-arm64-testing --=20 David Marchand