diff options
author | Meng Zhuo <mengzhuo1203@gmail.com> | 2018-04-10 16:42:44 +0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-10 16:33:26 +0000 |
commit | 6b5236ae5361ed126324aebc37de6ec582518145 (patch) | |
tree | 20873d001854aa3e8b6a55acf829e077e326cbc3 /src/runtime/runtime2.go | |
parent | 144fae8ed5edf5912718da9cd722e81399c2e033 (diff) | |
download | go-git-6b5236ae5361ed126324aebc37de6ec582518145.tar.gz |
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/runtime2.go')
-rw-r--r-- | src/runtime/runtime2.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index ee5f6d5b47..22ba375a93 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -771,7 +771,6 @@ var ( processorVersionInfo uint32 isIntel bool lfenceBeforeRdtsc bool - support_aes bool support_avx bool support_avx2 bool support_erms bool @@ -779,10 +778,6 @@ var ( support_popcnt bool support_sse2 bool support_sse41 bool - support_sse42 bool - support_ssse3 bool - - arm64_support_aes bool goarm uint8 // set by cmd/link on arm systems framepointer_enabled bool // set by cmd/link |