Skip to content

Commit

Permalink
Fix building benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jun 22, 2021
1 parent aa71323 commit 69cb6f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/eminline_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/eminline_noasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}
Expand Down

0 comments on commit 69cb6f8

Please sign in to comment.