hash: simplify signature compare with NEON
authorRuifeng Wang <ruifeng.wang@arm.com>
Mon, 29 Apr 2019 10:02:07 +0000 (18:02 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jun 2019 17:49:28 +0000 (19:49 +0200)
commit474b4c1d7cce54d2217d648058ff55d40a92ebd0
treeafb48cdc114f4c6ca130a11194ac706dcca0f298
parent4c773788e05a3d5e2a55e134f015bea09350807b
hash: simplify signature compare with NEON

Replaced multiple neon instructions with single equivalent instruction.
This made simpler code and a bit higher performance.
Hash bulk lookup had 0.1% ~ 3% performance gain in tests on ARM A72
platforms.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_hash/rte_cuckoo_hash.c