summaryrefslogtreecommitdiff
path: root/mbld/cpufeatures+posixy-x64.s
blob: 8202ca13800c3a3def3a0b178227cd7847ce40a7 (plain)
1
2
3
4
5
6
7
8
9
10
.globl bld$cpufeatures
.globl bld$_cpufeatures
bld$cpufeatures:
bld$_cpufeatures:
	mov	$0x1, %eax
	cpuid
	mov	%ecx, %eax
	rol	$32, %rax
	shrd	$32, %rdx, %rax
	ret