shithub: bench9

ref: c2c6b68ac66d44ec8e38e205d2f1cb66a458e359
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