summaryrefslogtreecommitdiff
path: root/mbld/cpufeatures+plan9-x64.s
blob: a67e0c96c09c5be763037b78659628789e78bdf6 (plain)
1
2
3
4
5
6
7
8
9
TEXT bld$cpufeatures+0(SB),$0
	MOVL	$0x1,AX
	CPUID
	MOVL	CX,AX
	ROLQ	$32, AX
	SHRQ	$32, DX
	ORQ	DX, AX
	RET