From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B477C43219 for ; Thu, 24 Nov 2022 10:17:29 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1963742DB3; Thu, 24 Nov 2022 11:17:28 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 62DA242C4D for ; Thu, 24 Nov 2022 11:17:26 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction Date: Thu, 24 Nov 2022 11:17:23 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D874F9@smartserver.smartshare.dk> In-Reply-To: <1669246997-30592-2-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction Thread-Index: Adj/lWPrRXHkECmlQXGtGPhvxsVEnQAWC6Pg References: <1669241687-18810-1-git-send-email-roretzla@linux.microsoft.com> <1669246997-30592-1-git-send-email-roretzla@linux.microsoft.com> <1669246997-30592-2-git-send-email-roretzla@linux.microsoft.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tyler Retzlaff" Cc: 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 > From: Tyler Retzlaff [mailto:roretzla@linux.microsoft.com] > Sent: Thursday, 24 November 2022 00.43 >=20 > Provide an abstraction for leading and trailing zero bit counting > functions to hide compiler specific intrinsics and builtins. >=20 > Signed-off-by: Tyler Retzlaff > --- Related functions already exist in lib/eal/include/rte_common.h. If some functions are missing, it would be good to add them. Also, it makes sense moving them out of rte_common.h.