Commit f8b28e28 authored by Ilya Tocar's avatar Ilya Tocar

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7e34ac1f
...@@ -151,7 +151,7 @@ endofpage: ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment