From c7ed8b54c27dd3d641af156e1aea43f37bd66902 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 29 Nov 2021 10:31:59 -0800 Subject: [PATCH] activate _dispatch() (when enabled) in benchmark mode --- cli/xsum_bench.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/xsum_bench.c b/cli/xsum_bench.c index 25678177..2285bb09 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 /* malloc, free */ #include