From f8b28e28f8e41d988ff1c08721e6f7d33f3fa7ff Mon Sep 17 00:00:00 2001 From: Ilya Tocar Date: Tue, 27 Mar 2018 15:21:49 -0500 Subject: [PATCH] =?UTF-8?q?internal/bytealg:=20remove=20dependency=20on=20?= =?UTF-8?q?runtime=C2=B7support=5Favx2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use internal/cpu instead. Change-Id: I8670440389cbd88951fee61e352c4a10ac7eee6e Reviewed-on: https://go-review.googlesource.com/102737 Run-TryBot: Ilya Tocar TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/internal/bytealg/count_amd64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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