aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_386.s
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-04-10 12:19:24 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2018-04-10 14:30:10 +0000
commitace5fa1a609c28cbfcede4639d3eed47c47b2774 (patch)
tree0e1615f26f623d6fa9d28904540bacc4465dd2c6 /src/runtime/asm_386.s
parent76e92d1c9e2943de7093af14d58663fa2993e608 (diff)
downloadgo-ace5fa1a609c28cbfcede4639d3eed47c47b2774.tar.gz
go-ace5fa1a609c28cbfcede4639d3eed47c47b2774.zip
runtime: remove support_bmi{1,2}
The code reading these variables was removed in CL 41476. They are only set but never read now, so remove them. Change-Id: I6b0b8d813e9a3ec2a13586ff92746e00ad1b5bf0 Reviewed-on: https://go-review.googlesource.com/106095 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/asm_386.s')
-rw-r--r--src/runtime/asm_386.s6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/asm_386.s b/src/runtime/asm_386.s
index 8b706f6706..806361b6b8 100644
--- a/src/runtime/asm_386.s
+++ b/src/runtime/asm_386.s
@@ -198,17 +198,11 @@ eax7:
MOVL $0, CX
CPUID
- TESTL $(1<<3), BX // BMI1
- SETNE runtime·support_bmi1(SB)
-
// If OS support for XMM and YMM is not present
// support_avx2 will be set back to false later.
TESTL $(1<<5), BX
SETNE runtime·support_avx2(SB)
- TESTL $(1<<8), BX // BMI2
- SETNE runtime·support_bmi2(SB)
-
TESTL $(1<<9), BX // ERMS
SETNE runtime·support_erms(SB)