]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add patterns to improve PPC64 FP comparisons
authorDavid Chase <drchase@google.com>
Thu, 20 Oct 2016 15:05:45 +0000 (11:05 -0400)
committerDavid Chase <drchase@google.com>
Thu, 20 Oct 2016 15:34:20 +0000 (15:34 +0000)
commit33b71dfa1c993d2e06d7723e3205c792df3b383d
treea6d5a424cb74c8ab6ff1595a360c477e098f8892
parentf9bbfe4a093144e48a4774d1388c1e99be64673b
cmd/compile: add patterns to improve PPC64 FP comparisons

Uncommented 4 comparison rules of this form:
(NE (CMPWconst [0] (FLessThan cc)) yes no) -> (FLT cc yes no)

Fixes #17507.

Change-Id: I74f34f13526aeee619711c8281a66652d90a962a
Reviewed-on: https://go-review.googlesource.com/31612
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/gen/PPC64.rules
src/cmd/compile/internal/ssa/rewritePPC64.go