diff options
| author | Ilya Tocar <ilya.tocar@intel.com> | 2018-03-27 15:21:49 -0500 |
|---|---|---|
| committer | Ilya Tocar <ilya.tocar@intel.com> | 2018-03-28 15:39:16 +0000 |
| commit | f8b28e28f8e41d988ff1c08721e6f7d33f3fa7ff (patch) | |
| tree | 9a40840186df9754277fef61a1dbd44814b02596 /src/internal/bytealg | |
| parent | 7e34ac1f4c6e940dd73756c10fce078804a20a05 (diff) | |
| download | go-f8b28e28f8e41d988ff1c08721e6f7d33f3fa7ff.tar.xz | |
internal/bytealg: remove dependency on runtime·support_avx2
Use internal/cpu instead.
Change-Id: I8670440389cbd88951fee61e352c4a10ac7eee6e
Reviewed-on: https://go-review.googlesource.com/102737
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/internal/bytealg')
| -rw-r--r-- | src/internal/bytealg/count_amd64.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/bytealg/count_amd64.s b/src/internal/bytealg/count_amd64.s index 19eb1ac642..cecba11cf9 100644 --- a/src/internal/bytealg/count_amd64.s +++ b/src/internal/bytealg/count_amd64.s @@ -151,7 +151,7 @@ endofpage: RET avx2: - CMPB runtime·support_avx2(SB), $1 + CMPB internal∕cpu·X86+const_x86_HasAVX2(SB), $1 JNE sse MOVD AX, X0 LEAQ -32(SI)(BX*1), R11 |
