commit | c7ed8b54c27dd3d641af156e1aea43f37bd66902 | [log] [tgz] |
---|---|---|
author | Yann Collet <cyan@fb.com> | Mon Nov 29 18:31:59 2021 |
committer | Yann Collet <cyan@fb.com> | Mon Nov 29 18:31:59 2021 |
tree | eb63fcef8c25c828ad9c4eef208e6baf8570fa76 | |
parent | f2416f4d1cddfc8399dce31ebca14e8d7713a4e1 [diff] |
activate _dispatch() (when enabled) in benchmark mode
diff --git a/cli/xsum_bench.c b/cli/xsum_bench.c index 2567817..2285bb0 100644 --- a/cli/xsum_bench.c +++ b/cli/xsum_bench.c
@@ -31,6 +31,9 @@ # define XXH_STATIC_LINKING_ONLY #endif #include "../xxhash.h" +#ifdef XXHSUM_DISPATCH +# include "../xxh_x86dispatch.h" /* activate _dispatch() redirectors */ +#endif #include <stdlib.h> /* malloc, free */ #include <assert.h>