mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fix building benchmarks
This commit is contained in:
parent
aa71323e33
commit
69cb6f828c
2 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue