Fix building benchmarks

This commit is contained in:
Miodrag Milanovic 2021-06-22 14:42:29 +02:00
parent aa71323e33
commit 69cb6f828c
2 changed files with 2 additions and 2 deletions

View file

@ -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++;
}
}

View file

@ -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++;
}
}