add intrinsic file include for _mm_crc32_u32
This commit is contained in:
parent
6c88499920
commit
39605c1a98
@ -45,6 +45,7 @@ extern B scan_max_num(B x, u8 xe, u64 ia);
|
|||||||
|
|
||||||
// These hashes are stored in tables and must be invertible!
|
// These hashes are stored in tables and must be invertible!
|
||||||
#if defined(__SSE4_2__)
|
#if defined(__SSE4_2__)
|
||||||
|
#include <x86intrin.h>
|
||||||
static inline u32 hash32(u32 x) { return _mm_crc32_u32(0x973afb51, x); }
|
static inline u32 hash32(u32 x) { return _mm_crc32_u32(0x973afb51, x); }
|
||||||
#else
|
#else
|
||||||
// Murmur3
|
// Murmur3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user