]> Cypherpunks repositories - gostls13.git/commitdiff
math: remove unused variable
authorIlya Tocar <ilya.tocar@intel.com>
Thu, 1 Mar 2018 18:30:19 +0000 (12:30 -0600)
committerIlya Tocar <ilya.tocar@intel.com>
Thu, 1 Mar 2018 18:51:44 +0000 (18:51 +0000)
useSSE41 was used inside asm implementation of floor to select between base and ss4 code path.
We intrinsified floor and left asm functions as a backup for non-sse4 systems.
This made variable unused, so remove it.

Change-Id: Ia2633de7c7cb1ef1d5b15a2366b523e481b722d9
Reviewed-on: https://go-review.googlesource.com/97935
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/math/floor_asm.go [deleted file]

diff --git a/src/math/floor_asm.go b/src/math/floor_asm.go
deleted file mode 100644 (file)
index fdec112..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build amd64 amd64p32
-
-package math
-
-import "internal/cpu"
-
-var useSSE41 = cpu.X86.HasSSE41