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: > > On Sun, Dec 06, 2015 at 08:54:28PM +0530, Jerin Jacob wrote: > > > 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 > > > > > > > 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 > > >