xxHash 0.8.2
Extremely fast non-cryptographic hash function
Loading...
Searching...
No Matches
Macros
xxh_x86dispatch.c File Reference
#include <assert.h>

Macros

#define XXH_X86DISPATCH_ALLOW_AVX
 Disables the AVX sanity check.
 
#define XXH_DISPATCH_SCALAR   1
 Enables/dispatching the scalar code path.
 
#define XXH_DISPATCH_AVX2   0
 Enables/disables dispatching for AVX2.
 
#define XXH_DISPATCH_AVX512   0
 Enables/disables dispatching for AVX512.
 

Detailed Description

Automatic dispatcher code for the XXH3 family on x86-based targets.

Optional add-on.

Compile this file with the default flags for your target. Do not compile with flags like -mavx*, -march=native, or /arch:AVX*, there will be an error. See XXH_X86DISPATCH_ALLOW_AVX for details.