Skip to content

Commit 7787f0f

Browse files
committed
Use __aarch64__ (#8)
1 parent c91027c commit 7787f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/benchmark.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ inline uint64_t rdtsc()
174174
std::atomic_thread_fence(std::memory_order_seq_cst);
175175
#endif
176176
#ifdef __clang__
177-
#ifdef __arm64__
177+
#ifdef __aarch64__
178178
uint64_t tsc;
179179
asm volatile("mrs %0, CNTVCT_EL0" : "=r"(tsc):);
180180
#else

0 commit comments

Comments
 (0)