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 8A64E45E3C; Thu, 5 Dec 2024 21:36:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3436840A73; Thu, 5 Dec 2024 21:36:11 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E4EA54069D for ; Thu, 5 Dec 2024 21:36:09 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 2CEDB20ACD83; Thu, 5 Dec 2024 12:36:09 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2CEDB20ACD83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1733430969; bh=laef1/QirI33c939yXoiDfCyq7tjuUGIRpv064WREok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YtE7XjZz/uGe1VT4HCma2p0uuqRFAEh5Pre16iqgnd9zVLSbXWJD183Jf4hH7+m2B tcIuBER2C5jg2JNb7EGzVdaii2+dSfrnWNsFdt8KcR9zaivSc6tV1oBkCbHyoftI3P 0hCU2iSEdrPYCY12SDWb5DWEMLkBf5Sj7aKIPYLo= From: Andre Muezerie To: dev@dpdk.org Cc: Andre Muezerie Subject: [PATCH v2 0/3] provide rte_ffs32, rte_ffs64 and __rte_x86_movdiri Date: Thu, 5 Dec 2024 12:35:47 -0800 Message-Id: <1733430950-10412-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. 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_bitops.c | 38 ++++++++++++++++++++++++++++++++++++ lib/eal/include/rte_bitops.h | 34 ++++++++++++++++++++++++++++++++ lib/eal/x86/include/rte_io.h | 4 ++++ 3 files changed, 76 insertions(+) -- 2.47.0.vfs.0.3