add CLIB_HAVE_VEC128 with NEON intrinsics (VPP-1127) 55/10455/2
authorGabriel Ganne <gabriel.ganne@enea.com>
Tue, 5 Dec 2017 16:33:37 +0000 (17:33 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 8 Feb 2018 20:32:31 +0000 (20:32 +0000)
commitb81831d122d59b55c7d42b39e4fd9e94b7d40aca
tree2427cad202283105a19387ab5f249f7be07acc97
parentc43b3f986476ffb4506b7115898e809a6e34f601
add CLIB_HAVE_VEC128 with NEON intrinsics (VPP-1127)

Enable CLIB_HAVE_VEC128 if both aarch64 and __ARM_NEON
ie. armv8 only, not armv7

Add more neon compare intrinsics wrappers.
I only add simple intrinsics wrappers. More complex ones can be added
later as they are needed, with performance tests on the corresponding
feature to back them up.

Remove wrongly added 128bits definitions defined on both armv7 and armv8
without concern for NEON instructions presence.

Notable correspondinf code activations:
* MHEAP_FLAG_SMALL_OBJECT_CACHE in mheap.c
* ip4 fib mtrie leaves access
* enable ixge plugin compilation for aarch64
  (conf still disables it by default)

Change-Id: I99953823627bdff6f222d232c78aa7b655aaf77a
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
src/plugins/ixge/ixge.c
src/vppinfra/vector.h
src/vppinfra/vector_neon.h