ref: 5ebb1a29d8250027e8b7f2287f3bfa3a6f3d13ac dir: /sys/src/ape/lib/ap/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