I achieved to make it compile on this architecture with minor changes in src/util/timer.h:
static inline size_t rdtsc() {
uint64_t tsc;
asm volatile("mrs %0, cntvct_el0" : "=r"(tsc));
return tsc;
}
static double measure_rdtsc_freq() {
uint32_t freq_hz;
asm volatile ("mrs %0, cntfrq_el0; isb; " : "=r"(freq_hz) :: "memory");
return static_cast<double(freq_hz);
}
But I don't know if there can be others compatibility problems at runtime?
I achieved to make it compile on this architecture with minor changes in
src/util/timer.h:But I don't know if there can be others compatibility problems at runtime?