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