diff options
author | Damjan Marion <damarion@cisco.com> | 2016-10-11 09:53:12 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-10-11 18:34:02 +0000 |
commit | 383740d102769721f2da64c4d6666025b0543836 (patch) | |
tree | 24830f990bdfd8939d67c262be6c326426517688 /vppinfra/Makefile.am | |
parent | dfa9c5bb9a6e9548267f3456724a5a1a7f342b06 (diff) |
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>
Diffstat (limited to 'vppinfra/Makefile.am')
-rw-r--r-- | vppinfra/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vppinfra/Makefile.am b/vppinfra/Makefile.am index 48a347e009f..d0a023e25d3 100644 --- a/vppinfra/Makefile.am +++ b/vppinfra/Makefile.am @@ -224,6 +224,9 @@ nobase_include_HEADERS = \ CLIB_CORE = \ vppinfra/asm_x86.c \ vppinfra/backtrace.c \ + vppinfra/bihash_8_8.h \ + vppinfra/bihash_24_8.h \ + vppinfra/bihash_template.h \ vppinfra/cpu.c \ vppinfra/elf.c \ vppinfra/elog.c \ |