[PATCH v3 0/3] provide rte_ffs32, rte_ffs64 and __rte_x86_movdiri
David Marchand
david.marchand at redhat.com
Wed Jan 29 14:56:59 CET 2025
On Fri, Jan 24, 2025 at 5:46 PM Andre Muezerie
<andremue at linux.microsoft.com> wrote:
>
> 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(+)
Series applied, thanks Tyler and André.
--
David Marchand
More information about the dev
mailing list