[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jerin Jacob
On Mon, Nov 02, 2015 at 03:49:17PM +, Hunt, David wrote: > On 02/11/2015 15:36, Jan Viktorin wrote: > >On Mon, 2 Nov 2015 15:26:19 + > --snip-- > >It was looking like we can share a lot of common code for both > >architectures. I didn't know how much different are the cpuflags. > > CPU fla

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jan Viktorin
On Mon, 2 Nov 2015 21:59:12 +0530 Jerin Jacob wrote: > On Mon, Nov 02, 2015 at 03:49:17PM +, Hunt, David wrote: > > On 02/11/2015 15:36, Jan Viktorin wrote: > > >On Mon, 2 Nov 2015 15:26:19 + > > --snip-- > > >It was looking like we can share a lot of common code for both > > >archi

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jerin Jacob
On Mon, Nov 02, 2015 at 12:22:47PM +, Hunt, David wrote: > On 02/11/2015 04:57, Jerin Jacob wrote: > >On Fri, Oct 30, 2015 at 01:49:14PM +, David Hunt wrote: > >>Signed-off-by: David Hunt > --snip-- > >>+#ifndef _RTE_MEMCPY_ARM_64_H_ > >>+#define _RTE_MEMCPY_ARM_64_H_ > >>+ > >>+#include

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jan Viktorin
On Mon, 2 Nov 2015 15:26:19 + "Hunt, David" wrote: > On 02/11/2015 12:57, Jerin Jacob wrote: > > On Mon, Nov 02, 2015 at 12:22:47PM +, Hunt, David wrote: > >> Jerin, > >> I've just benchmarked the libc version against the hand-coded version > >> of > >> the memcpy routines, and the

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Hunt, David
On 02/11/2015 15:36, Jan Viktorin wrote: > On Mon, 2 Nov 2015 15:26:19 + --snip-- > It was looking like we can share a lot of common code for both > architectures. I didn't know how much different are the cpuflags. CPU flags for ARMv8 are looking like this now. Quite different to the ARMv7 on

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Hunt, David
On 02/11/2015 12:57, Jerin Jacob wrote: > On Mon, Nov 02, 2015 at 12:22:47PM +, Hunt, David wrote: >> Jerin, >> I've just benchmarked the libc version against the hand-coded version of >> the memcpy routines, and the libc wins in most cases. This code was just an >> initial attempt at optim

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jan Viktorin
On Mon, 2 Nov 2015 12:22:47 + "Hunt, David" wrote: > On 02/11/2015 04:57, Jerin Jacob wrote: > > On Fri, Oct 30, 2015 at 01:49:14PM +, David Hunt wrote: > >> Signed-off-by: David Hunt > --snip-- > >> +#ifndef _RTE_MEMCPY_ARM_64_H_ > >> +#define _RTE_MEMCPY_ARM_64_H_ > >> + > >> +#inc

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Hunt, David
On 02/11/2015 04:57, Jerin Jacob wrote: > On Fri, Oct 30, 2015 at 01:49:14PM +, David Hunt wrote: >> Signed-off-by: David Hunt --snip-- >> +#ifndef _RTE_MEMCPY_ARM_64_H_ >> +#define _RTE_MEMCPY_ARM_64_H_ >> + >> +#include >> +#include >> + >> +#ifdef __cplusplus >> +extern "C" { >> +#endif >

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-11-02 Thread Jerin Jacob
On Fri, Oct 30, 2015 at 01:49:14PM +, David Hunt wrote: > Signed-off-by: David Hunt > --- > .../common/include/arch/arm/rte_memcpy.h | 4 + > .../common/include/arch/arm/rte_memcpy_64.h| 308 > + > 2 files changed, 312 insertions(+) > create mode 1006

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_memcpy.h | 4 + .../common/include/arch/arm/rte_memcpy_64.h| 308 + 2 files changed, 312 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_memcpy_64.h diff --git a/lib