commit | 35b0373c697b5f160d3db26b1cbb45a0d5ba788c | [log] [tgz] |
---|---|---|
author | Yann Collet <Cyan4973@users.noreply.github.com> | Mon Nov 29 18:34:10 2021 |
committer | GitHub <noreply@github.com> | Mon Nov 29 18:34:10 2021 |
tree | eb63fcef8c25c828ad9c4eef208e6baf8570fa76 | |
parent | f2d738a7fd6a5712a6644c6bb5281ce3d745fb83 [diff] | |
parent | c7ed8b54c27dd3d641af156e1aea43f37bd66902 [diff] |
Merge pull request #619 from Cyan4973/dev 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>