X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fbihash_8_8.h;h=68049351eea419a85f90388b84be9f0f6a07a946;hb=e2d40b81585bceaf30b8547554aab24d60e7d396;hp=b5c17461245ffc68fe260b85240e41579378585c;hpb=38cfe98d4e0da61f9d39de8dba9f142ad845821c;p=vpp.git diff --git a/src/vppinfra/bihash_8_8.h b/src/vppinfra/bihash_8_8.h index b5c17461245..68049351eea 100644 --- a/src/vppinfra/bihash_8_8.h +++ b/src/vppinfra/bihash_8_8.h @@ -51,7 +51,7 @@ static inline u64 clib_bihash_hash_8_8 (clib_bihash_kv_8_8_t * v) { /* Note: to torture-test linear scan, make this fn return a constant */ -#if __SSE4_2__ +#ifdef clib_crc32c_uses_intrinsics return clib_crc32c ((u8 *) & v->key, 8); #else return clib_xxhash (v->key);