summaryrefslogtreecommitdiff
path: root/mbld/cpufeatures+plan9-x64.s
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/cpufeatures+plan9-x64.s')
-rw-r--r--mbld/cpufeatures+plan9-x64.s9
1 files changed, 4 insertions, 5 deletions
diff --git a/mbld/cpufeatures+plan9-x64.s b/mbld/cpufeatures+plan9-x64.s
index a67e0c9..645d01a 100644
--- a/mbld/cpufeatures+plan9-x64.s
+++ b/mbld/cpufeatures+plan9-x64.s
@@ -1,9 +1,8 @@
TEXT bld$cpufeatures+0(SB),$0
MOVL $0x1,AX
CPUID
- MOVL CX,AX
- ROLQ $32, AX
- SHRQ $32, DX
- ORQ DX, AX
+ MOVL CX, AX
+ MOVL DX, DX
+ ROLQ $32, DX
+ ORQ DX, AX
RET
-