ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a dir: /sys/src/libc/riscv64/cycles.s/
#define RARG R8 /* user-accessible CSRs */ #define CYCLO 0xc00 TEXT cycles(SB), 1, $-4 /* cycles since power up */ MOV CSR(CYCLO), RARG RET