]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: PPC64, find compare-with-immediate
authorDavid Chase <drchase@google.com>
Mon, 26 Sep 2016 17:06:10 +0000 (10:06 -0700)
committerDavid Chase <drchase@google.com>
Mon, 26 Sep 2016 18:07:33 +0000 (18:07 +0000)
commit3390294308462d5ddab95feaf42acc8fde767c98
treec7479912adbd7171058160a2f2e3ee95958ba165
parent7f1bc53379f548845a23275c2f83d75071cf8e13
cmd/compile: PPC64, find compare-with-immediate

Added rules for compare double and word immediate,
including those that use invertflags to cope with
flipped operands.

Change-Id: I594430a210e076e52299a2cc6ab074dbb04a02bd
Reviewed-on: https://go-review.googlesource.com/29763
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/compile/internal/ssa/gen/PPC64.rules
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewritePPC64.go