From 69cb6f828ca212c8b1081b643b1c2352b27c3a30 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 22 Jun 2021 14:42:29 +0200 Subject: [PATCH] Fix building benchmarks --- benchmarks/eminline_native.cpp | 2 +- benchmarks/eminline_noasm.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/eminline_native.cpp b/benchmarks/eminline_native.cpp index 89c4e3f5ec3..eb5a6c748f9 100644 --- a/benchmarks/eminline_native.cpp +++ b/benchmarks/eminline_native.cpp @@ -5,7 +5,7 @@ static void BM_count_leading_zeros_native(benchmark::State& state) { uint32_t cnt = 0x332533; while (state.KeepRunning()) { - (void)count_leading_zeros(cnt); + (void)count_leading_zeros_32(cnt); cnt++; } } diff --git a/benchmarks/eminline_noasm.cpp b/benchmarks/eminline_noasm.cpp index d24ee8ec4e3..49d9f92513a 100644 --- a/benchmarks/eminline_noasm.cpp +++ b/benchmarks/eminline_noasm.cpp @@ -13,7 +13,7 @@ osd_ticks_t osd_ticks(void) static void BM_count_leading_zeros_noasm(benchmark::State& state) { uint32_t cnt = 0x332533; while (state.KeepRunning()) { - (void)count_leading_zeros(cnt); + (void)count_leading_zeros_32(cnt); cnt++; } }