diff options
author | Martin Möhrmann <moehrmann@google.com> | 2017-05-10 19:03:48 +0200 |
---|---|---|
committer | Martin Möhrmann <moehrmann@google.com> | 2017-05-10 19:28:42 +0000 |
commit | aeee34cb242620ad3d40685227a061818e843a72 (patch) | |
tree | 54ef5034403b21e7a43a758a4a0acb9705b33d64 /src/runtime/asm_386.s | |
parent | 201fd16568b41f536f5ca7809a0bd19fc24b9394 (diff) | |
download | go-aeee34cb242620ad3d40685227a061818e843a72.tar.gz go-aeee34cb242620ad3d40685227a061818e843a72.zip |
runtime: remove unused cpuid_X variables
They are not exported and not used in the compiler or standard library.
Change-Id: Ie1d210464f826742d282f12258ed1792cbd2d188
Reviewed-on: https://go-review.googlesource.com/43135
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/asm_386.s')
-rw-r--r-- | src/runtime/asm_386.s | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/asm_386.s b/src/runtime/asm_386.s index dc5db91ea8..5bbf2866f3 100644 --- a/src/runtime/asm_386.s +++ b/src/runtime/asm_386.s @@ -76,8 +76,6 @@ notintel: CPUID MOVL CX, DI // Move to global variable clobbers CX when generating PIC MOVL AX, runtime·processorVersionInfo(SB) - MOVL DI, runtime·cpuid_ecx(SB) - MOVL DX, runtime·cpuid_edx(SB) // Check for MMX support TESTL $(1<<23), DX // MMX @@ -116,7 +114,6 @@ eax7: MOVL $7, AX MOVL $0, CX CPUID - MOVL BX, runtime·cpuid_ebx7(SB) TESTL $(1<<3), BX // BMI1 SETNE runtime·support_bmi1(SB) |