9 #define FIO_ARCH (arch_riscv64)
11 #define nop __asm__ __volatile__ ("nop")
12 #define read_barrier() __asm__ __volatile__("fence r, r": : :"memory")
13 #define write_barrier() __asm__ __volatile__("fence w, w": : :"memory")
15 static inline unsigned long long get_cpu_clock(void)
19 asm volatile("rdcycle %0" : "=r"(val));
22 #define ARCH_HAVE_CPU_CLOCK
24 #define ARCH_HAVE_INIT
25 extern bool tsc_reliable;
26 static inline int arch_init(char *envp[])