]> Cypherpunks repositories - gostls13.git/commit
runtime: use internal/cpu in alginit
authorMeng Zhuo <mengzhuo1203@gmail.com>
Tue, 10 Apr 2018 08:42:44 +0000 (16:42 +0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 10 Apr 2018 16:33:26 +0000 (16:33 +0000)
commit6b5236ae5361ed126324aebc37de6ec582518145
tree20873d001854aa3e8b6a55acf829e077e326cbc3
parent144fae8ed5edf5912718da9cd722e81399c2e033
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>
src/runtime/alg.go
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/os_linux_arm64.go
src/runtime/runtime2.go