DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] adapt prefetch functions for MSVC
@ 2024-03-20 21:18 Tyler Retzlaff
  2024-03-20 21:18 ` [PATCH 1/2] eal: provide " Tyler Retzlaff
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tyler Retzlaff @ 2024-03-20 21:18 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson, Konstantin Ananyev, Tyler Retzlaff

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-14 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 21:18 [PATCH 0/2] adapt prefetch functions for MSVC Tyler Retzlaff
2024-03-20 21:18 ` [PATCH 1/2] eal: provide " Tyler Retzlaff
2024-03-20 21:18 ` [PATCH 2/2] eal: adjust intrinsic type casts for CXX Tyler Retzlaff
2024-06-14 14:39 ` [PATCH 0/2] adapt prefetch functions for MSVC David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).