shithub: bench9

ref: cce6dfb94a75af67751e2fab0d961a004e9e51d5
dir: /b_amd64.s/

View raw version
TEXT _tstart(SB), 1, $0
	LFENCE
	RDTSC
	MOVL AX, 0(RARG)
	MOVL DX, 4(RARG)
	RET

TEXT _tend(SB), 1, $0
	RDTSC
	MOVL AX, 0(RARG)
	MOVL DX, 4(RARG)
	CPUID
	RET