Thread (12 messages) read the whole thread 12 messages, 4 authors, 2016-02-16

Re: [RFC PATCH 0/2] Fix examples/distributor build issue for non x86

From: Jerin Jacob <hidden>
Date: 2016-01-29 16:53:50

On Fri, Jan 29, 2016 at 08:03:37AM -0700, Bruce Richardson wrote:
On Fri, Jan 29, 2016 at 08:51:41AM +0530, Jerin Jacob wrote:
quoted
On Sun, Dec 06, 2015 at 08:54:28PM +0530, Jerin Jacob wrote:
quoted
Introduced rte_prefetch_non_temporal() to remove IA specific _mm_prefect(addr, 0)
gcc intrinsic and build examples/distributor for non 86 platform
ping for review.
Is there much performance difference between making this a prefetch NT vs making
it an rte_prefetch0 on the platforms you have tested?
Not much difference. But, I think its worth keep the abstraction as
IA and arm64 architecture supports it.

Jerin
/Bruce
quoted
quoted
Not sure the rte_prefetch_non_temporal mapping correct for
all the platforms. Architecture maintainers please check the mapping for
rte_prefetch_non_temporal() for specific architecures

Jerin Jacob (2):
  eal: introduce rte_prefetch_non_temporal
  examples/distributor: remove IA specific __mm_prefetch

 examples/distributor/main.c                              |  9 +++++----
 lib/librte_eal/common/include/arch/arm/rte_prefetch_32.h |  5 +++++
 lib/librte_eal/common/include/arch/arm/rte_prefetch_64.h |  5 +++++
 lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h |  5 +++++
 lib/librte_eal/common/include/arch/tile/rte_prefetch.h   |  5 +++++
 lib/librte_eal/common/include/arch/x86/rte_prefetch.h    |  5 +++++
 lib/librte_eal/common/include/generic/rte_prefetch.h     | 12 ++++++++++++
 7 files changed, 42 insertions(+), 4 deletions(-)

--
2.1.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help