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 414254612D; Fri, 24 Jan 2025 17:14:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C74D427AA; Fri, 24 Jan 2025 17:14:17 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 12E07402CC for ; Fri, 24 Jan 2025 17:14:13 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 58CE0210D0C2; Fri, 24 Jan 2025 08:14:12 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 58CE0210D0C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1737735252; bh=r42TZAPoOjDGzUNM31QHWUCsYD4eBw54xvdLXzRaJv0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VTBwZw0J6pBVJxJdGnCdxHcaTbMlb1GNxhTreXHJNcaCU6s87xZ4++Lj0ZVytq+0z 9I5SAseQoqyvivTewfRvXFCd1Nl0ysJAZE9gSe6YBYMJz0jFflk/gm9QPto7LTecLY 2zNQvu7kei66s8Ub7tfmuI55h+gJILHBNZhaMbEI= From: Andre Muezerie To: dev@dpdk.org Cc: Andre Muezerie Subject: [PATCH v3 0/3] provide rte_ffs32, rte_ffs64 and __rte_x86_movdiri Date: Fri, 24 Jan 2025 08:14:01 -0800 Message-Id: <1737735244-23234-1-git-send-email-andremue@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1710969879-23701-1-git-send-email-roretzla@linux.microsoft.com> References: <1710969879-23701-1-git-send-email-roretzla@linux.microsoft.com> 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 MSVC does not support inline assembly so use movdiri intrinsic and provide abstracted rte_ffs{32,64} inline functions instead of directly using GCC built-ins. v3: * Added __rte_experimental to the new functions. * Added comments to the new functions. * Moved tests to test_bitcount.c v2: * Moved constants to the right side of the comparison * Added tests for rte_ffs32 and rte_ffs64 functions Andre Muezerie (1): app/test: add test for rte_ffs32 and rte_ffs64 functions. Tyler Retzlaff (2): eal: provide movdiri for MSVC eal: add rte ffs32 and rte ffs64 inline functions app/test/test_bitcount.c | 38 ++++++++++++++++++ lib/eal/include/rte_bitops.h | 74 ++++++++++++++++++++++++++++++++++++ lib/eal/x86/include/rte_io.h | 4 ++ 3 files changed, 116 insertions(+) -- 2.47.2.vfs.0.1