vppinfra: use crc32q instruction instead of xxhash in bihash_8_8 39/3339/3
authorDamjan Marion <damarion@cisco.com>
Tue, 11 Oct 2016 07:53:12 +0000 (09:53 +0200)
committerDave Barach <openvpp@barachs.net>
Tue, 11 Oct 2016 18:34:02 +0000 (18:34 +0000)
commit383740d102769721f2da64c4d6666025b0543836
tree24830f990bdfd8939d67c262be6c326426517688
parentdfa9c5bb9a6e9548267f3456724a5a1a7f342b06
vppinfra: use crc32q instruction instead of xxhash in bihash_8_8

xxhash calculation takes 10 clock cycles on Haswell so it makes sense
to use crc32q insutrction when available.

Change-Id: Iab5e7d9c8ec0125626bbcd067e5dc30574c8febc
Signed-off-by: Damjan Marion <damarion@cisco.com>
vppinfra/Makefile.am
vppinfra/vppinfra/bihash_8_8.h