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(-)

-- 
1.8.3.1

Reply via email to