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/asm_amd64.s | |
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/asm_amd64.s')
-rw-r--r-- | src/runtime/asm_amd64.s | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s index db516b5492..a8357f0e97 100644 --- a/src/runtime/asm_amd64.s +++ b/src/runtime/asm_amd64.s @@ -130,21 +130,12 @@ notintel: TESTL $(1<<26), DX // SSE2 SETNE runtime·support_sse2(SB) - TESTL $(1<<9), CX // SSSE3 - SETNE runtime·support_ssse3(SB) - TESTL $(1<<19), CX // SSE4.1 SETNE runtime·support_sse41(SB) - TESTL $(1<<20), CX // SSE4.2 - SETNE runtime·support_sse42(SB) - TESTL $(1<<23), CX // POPCNT SETNE runtime·support_popcnt(SB) - TESTL $(1<<25), CX // AES - SETNE runtime·support_aes(SB) - TESTL $(1<<27), CX // OSXSAVE SETNE runtime·support_osxsave(SB) |