1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:14:46 -07:00

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>
This commit is contained in:
Ilya Tocar 2018-03-27 15:21:49 -05:00
parent 7e34ac1f4c
commit f8b28e28f8

View File

@ -151,7 +151,7 @@ endofpage:
RET RET
avx2: avx2:
CMPB runtime·support_avx2(SB), $1 CMPB internalcpu·X86+const_x86_HasAVX2(SB), $1
JNE sse JNE sse
MOVD AX, X0 MOVD AX, X0
LEAQ -32(SI)(BX*1), R11 LEAQ -32(SI)(BX*1), R11