aboutsummaryrefslogtreecommitdiff
path: root/src/internal/bytealg
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2018-08-25 16:53:23 +0200
committerMartin Möhrmann <moehrmann@google.com>2018-08-26 15:27:20 +0000
commiteae5fc88c13d6902a7fe9c595fb02155eb037cbe (patch)
treefbef70b7c160cbed582ba5ec8dbe1e02e299cc7c /src/internal/bytealg
parentb7d3e14a5296b17c940983aed0d9d6cb54b912b7 (diff)
downloadgo-eae5fc88c13d6902a7fe9c595fb02155eb037cbe.tar.xz
internal/bytealg: replace use of runtime.support_sse2 with cpu.X86.HasSSE2
This makes the runtime.support_sse2 variable unused so it is removed in this CL too. Change-Id: Ia8b9ffee7ac97128179f74ef244b10315e44c234 Reviewed-on: https://go-review.googlesource.com/131455 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/internal/bytealg')
-rw-r--r--src/internal/bytealg/compare_386.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/bytealg/compare_386.s b/src/internal/bytealg/compare_386.s
index 89296e1690..f73e3f8b35 100644
--- a/src/internal/bytealg/compare_386.s
+++ b/src/internal/bytealg/compare_386.s
@@ -45,7 +45,7 @@ TEXT cmpbody<>(SB),NOSPLIT,$0-0
JEQ allsame
CMPL BP, $4
JB small
- CMPB runtime·support_sse2(SB), $1
+ CMPB internal∕cpu·X86+const_offsetX86HasSSE2(SB), $1
JNE mediumloop
largeloop:
CMPL BP, $16