ref: 99cc56f2e986f7337142d382d699ef09c337074a 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