aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/math.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2020-10-06 14:42:15 -0700
committerKeith Randall <khr@golang.org>2020-10-06 22:49:38 +0000
commit04b8a9fea57e37589d82410281f22ebde0027808 (patch)
treeb4096a522fb770e00a9257cd4e6ddacb97478808 /test/codegen/math.go
parent930fa890c9b6a75700bda3dc4043de81350749ea (diff)
downloadgo-04b8a9fea57e37589d82410281f22ebde0027808.tar.xz
all: implement GO386=softfloat
Backstop support for non-sse2 chips now that 387 is gone. RELNOTE=yes Change-Id: Ib10e69c4a3654c15a03568f93393437e1939e013 Reviewed-on: https://go-review.googlesource.com/c/go/+/260017 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test/codegen/math.go')
-rw-r--r--test/codegen/math.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/math.go b/test/codegen/math.go
index fe678eea23..ac8071400e 100644
--- a/test/codegen/math.go
+++ b/test/codegen/math.go
@@ -46,7 +46,7 @@ func approx(x float64) {
func sqrt(x float64) float64 {
// amd64:"SQRTSD"
- // 386:"SQRTSD"
+ // 386/sse2:"SQRTSD" 386/softfloat:-"SQRTD"
// arm64:"FSQRTD"
// arm/7:"SQRTD"
// mips/hardfloat:"SQRTD" mips/softfloat:-"SQRTD"