summaryrefslogtreecommitdiffstatshomepage
path: root/benchmarks
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2021-06-22 14:42:29 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2021-06-22 14:42:29 +0200
commit69cb6f828ca212c8b1081b643b1c2352b27c3a30 (patch)
tree7848dd5f2328c0e2dc800b1deed5f7bb7905ea5d /benchmarks
parentaa71323e33fc00f0049eeaae2ebc3040762071c3 (diff)
Fix building benchmarks
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/eminline_native.cpp2
-rw-r--r--benchmarks/eminline_noasm.cpp2
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++;
}
}