add a require{} for CRC32
This commit is contained in:
parent
5910c93fcb
commit
4fb6ce602f
@ -28,6 +28,7 @@ def hash_val{x0:u64} = {
|
||||
x ^= x >> 33; x
|
||||
}
|
||||
# CRC32
|
||||
if (hasarch{'SSE4.2'}) require{'x86intrin.h'}
|
||||
def hash_val{x:u32 & hasarch{'SSE4.2'}} = {
|
||||
emit{u32, '_mm_crc32_u32', 0x973afb51, x}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user