Skip to content

adapt prefetch functions for MSVC

Tyler Retzlaff dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2eal: provide prefetch functions for MSVClib/eal/include/generic/rte_prefetch.h+12 -00 replies
2/2eal: adjust intrinsic type casts for CXXlib/eal/x86/include/rte_prefetch.h+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] adapt prefetch functions for MSVC

MSVC does not have intrinsics that allow prefetch specifying read/write so adjust conditional compilation to allow MSVC to use the non access type inline functions from rte_prefetch.h

While here fix issues with C++ build (which only appears on MSVC because it uses intrinsics and not inline assembly)

Tyler Retzlaff (2):
eal: provide prefetch functions for MSVC
eal: adjust intrinsic type casts for CXX

 lib/eal/include/generic/rte_prefetch.h | 12 ++++++++++++
 lib/eal/x86/include/rte_prefetch.h     | 10 +++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.3.1