Skip to content

Commit 69cb6f8

Browse files
committed
Fix building benchmarks
1 parent aa71323 commit 69cb6f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/eminline_native.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
static void BM_count_leading_zeros_native(benchmark::State& state) {
66
uint32_t cnt = 0x332533;
77
while (state.KeepRunning()) {
8-
(void)count_leading_zeros(cnt);
8+
(void)count_leading_zeros_32(cnt);
99
cnt++;
1010
}
1111
}

benchmarks/eminline_noasm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ osd_ticks_t osd_ticks(void)
1313
static void BM_count_leading_zeros_noasm(benchmark::State& state) {
1414
uint32_t cnt = 0x332533;
1515
while (state.KeepRunning()) {
16-
(void)count_leading_zeros(cnt);
16+
(void)count_leading_zeros_32(cnt);
1717
cnt++;
1818
}
1919
}

0 commit comments

Comments
 (0)