]> Cypherpunks repositories - gostls13.git/commitdiff
internal/cpu: remove unused const cpuid_SSE2
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 May 2024 08:04:53 +0000 (10:04 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 22 May 2024 13:40:20 +0000 (13:40 +0000)
It's unused since CL 344350.

Change-Id: I1aacb9d3db6798aa7013a58603112894e2281002
Reviewed-on: https://go-review.googlesource.com/c/go/+/587035
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/cpu/cpu_x86.go

index f8aa53abeb67aa4f5d18d91ae1f696af653420d1..2b629d4da021db00128303fc62c4dde94688e86e 100644 (file)
@@ -18,9 +18,6 @@ func xgetbv() (eax, edx uint32)
 func getGOAMD64level() int32
 
 const (
-       // edx bits
-       cpuid_SSE2 = 1 << 26
-
        // ecx bits
        cpuid_SSE3      = 1 << 0
        cpuid_PCLMULQDQ = 1 << 1