aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_386.s
diff options
context:
space:
mode:
authorMeng Zhuo <mengzhuo1203@gmail.com>2018-04-10 16:42:44 +0800
committerBrad Fitzpatrick <bradfitz@golang.org>2018-04-10 16:33:26 +0000
commit6b5236ae5361ed126324aebc37de6ec582518145 (patch)
tree20873d001854aa3e8b6a55acf829e077e326cbc3 /src/runtime/asm_386.s
parent144fae8ed5edf5912718da9cd722e81399c2e033 (diff)
downloadgo-6b5236ae5361ed126324aebc37de6ec582518145.tar.gz
go-6b5236ae5361ed126324aebc37de6ec582518145.zip
runtime: use internal/cpu in alginit
After CL 104636 the feature flags in internal/cpu are initialized before alginit and can now be used for aeshash feature detection. Also remove now unused runtime variables: x86: support_ssse3 support_sse42 support_aes arm64: support_aes Change-Id: I2f64198d91750eaf3c6cf2aac6e9e17615811ec8 Reviewed-on: https://go-review.googlesource.com/106015 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/asm_386.s')
-rw-r--r--src/runtime/asm_386.s9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/asm_386.s b/src/runtime/asm_386.s
index 806361b6b8..4ba1d5b278 100644
--- a/src/runtime/asm_386.s
+++ b/src/runtime/asm_386.s
@@ -167,21 +167,12 @@ notintel:
TESTL $(1<<26), DX // SSE2
SETNE runtime·support_sse2(SB)
- TESTL $(1<<9), DI // SSSE3
- SETNE runtime·support_ssse3(SB)
-
TESTL $(1<<19), DI // SSE4.1
SETNE runtime·support_sse41(SB)
- TESTL $(1<<20), DI // SSE4.2
- SETNE runtime·support_sse42(SB)
-
TESTL $(1<<23), DI // POPCNT
SETNE runtime·support_popcnt(SB)
- TESTL $(1<<25), DI // AES
- SETNE runtime·support_aes(SB)
-
TESTL $(1<<27), DI // OSXSAVE
SETNE runtime·support_osxsave(SB)