hash: replace libc memcmp with optimized functions for arm64
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 23 Nov 2015 18:45:35 +0000 (00:15 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Nov 2015 21:11:37 +0000 (22:11 +0100)
commitf123e3d2ca920ded04aa4346756b937ab88ff699
tree0ae8f5e156fbce86199267b51494c96843cf15ad
parente079655c41fb89045ddf5237c5f9a78028b2e39c
hash: replace libc memcmp with optimized functions for arm64

The following measurements shows improvement over the default
libc memcmp function

Length(B) by X% over libc memcmp
  16   149.57%
  32   122.7%
  48   104.96%
  64   98.21%
  80   93.75%
  96   90.55%
 112   110.48%
 128   137.24%

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_hash/rte_cmp_arm64.h [new file with mode: 0644]
lib/librte_hash/rte_cuckoo_hash.c