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>
This commit is contained in:
Martin Möhrmann 2018-08-25 16:53:23 +02:00
parent b7d3e14a52
commit eae5fc88c1
3 changed files with 1 additions and 3 deletions

View file

@ -847,7 +847,6 @@ var (
// Set in runtime.cpuinit.
// TODO: deprecate these; use internal/cpu directly.
support_popcnt bool
support_sse2 bool
support_sse41 bool
arm64_support_atomics bool