eal/arm: use vector memcpy only when NEON is enabled
authorJan Viktorin <viktorin@rehivetech.com>
Mon, 2 Nov 2015 23:47:21 +0000 (00:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Nov 2015 21:41:33 +0000 (22:41 +0100)
commitd8581077d89308e4b0e5a45f952d1ac0ddaf2374
treeacc9fac4e452254270134bfbeac88d0645992816
parent04a2fde35daf5e9a271e72331a70b48b951d7568
eal/arm: use vector memcpy only when NEON is enabled

The GCC can be configured to avoid using NEON extensions.
For that purpose, we provide just the memcpy implementation
of the rte_memcpy.

Based on the patch by David Hunt and Armuta Zende:

  lib: added support for armv7 architecture

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Amruta Zende <amruta.zende@intel.com>
Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h