aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorMichael Munday <mike.munday@ibm.com>2020-03-06 22:20:45 +0000
committerMichael Munday <mike.munday@ibm.com>2020-04-07 19:55:05 +0000
commitbfd569fcb07440b85c503a399d78bcd6581824a3 (patch)
tree816cbf6ce9b70de75324275e276fd499a3375b84 /test/codegen
parent7ee8467b276fbe442df8c84c3d13a99e80519c24 (diff)
downloadgo-bfd569fcb07440b85c503a399d78bcd6581824a3.tar.gz
go-bfd569fcb07440b85c503a399d78bcd6581824a3.zip
cmd/compile: delete the floating point Greater and Geq ops
Extend CL 220417 (which removed the integer Greater and Geq ops) to floating point comparisons. Greater and Geq can always be implemented using Less and Leq. Fixes #37316. Change-Id: Ieaddb4877dd0ff9037a1dd11d0a9a9e45ced71e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/222397 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/floats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/floats.go b/test/codegen/floats.go
index 117805a2c7..127fa005ca 100644
--- a/test/codegen/floats.go
+++ b/test/codegen/floats.go
@@ -118,7 +118,7 @@ func FusedSub64_b(x, y, z float64) float64 {
}
func Cmp(f float64) bool {
- // arm64:"FCMPD","BLE",-"CSET\tGT",-"CBZ"
+ // arm64:"FCMPD","(BGT|BLE|BMI|BPL)",-"CSET\tGT",-"CBZ"
return f > 4 || f < -4
}