mirror of
https://github.com/golang/go
synced 2024-11-26 07:07:57 -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:
parent
7e34ac1f4c
commit
f8b28e28f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user