ref: 042f98784acb9f09013f65b0c93b7f56e1b8a10a dir: /sys/src/libc/amd64/cycles.s/
TEXT cycles(SB),1,$0 /* time stamp counter; cycles since power up */ RDTSC MOVL AX, 0(RARG) /* lo */ MOVL DX, 4(RARG) /* hi */ RET