[PATCH 0/2] provide rte_ffs32, rte_ffs64 and __rte_x86_movdiri for MSVC

Tyler Retzlaff roretzla at linux.microsoft.com
Wed Mar 20 22:24:37 CET 2024


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.

Tyler Retzlaff (2):
  eal: provide movdiri for MSVC
  eal: add rte ffs32 and rte ffs64 inline functions

 lib/eal/include/rte_bitops.h | 34 ++++++++++++++++++++++++++++++++++
 lib/eal/x86/include/rte_io.h |  4 ++++
 2 files changed, 38 insertions(+)

-- 
1.8.3.1



More information about the dev mailing list