]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove unused carry related ssa ops in ppc64
authorPaul E. Murphy <murp@ibm.com>
Thu, 20 Aug 2020 20:06:06 +0000 (15:06 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 27 Aug 2020 13:07:57 +0000 (13:07 +0000)
commit2aba467933b3252c758b65146d2ea5a5cff196da
tree518f623f66f47b0de0a9cf3582823b321eaa7e44
parent47b450997778163dfed6f58cae379d928fc37687
cmd/compile: remove unused carry related ssa ops in ppc64

The intermediate SSA opcodes* are no longer generated during the
lowering pass.  The shifting rules have been improved using ISEL.
Therefore, we can remove them and the rules which expand them.

* The removed opcodes are:

  LoweredAdd64Carry
  ADDconstForCarry
  MaskIfNotCarry
  FlagCarryClear
  FlagCarrySet

Change-Id: I1ebe2726ed988f29ed4800c8f57b428f7a214cd0
Reviewed-on: https://go-review.googlesource.com/c/go/+/249462
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/gen/PPC64.rules
src/cmd/compile/internal/ssa/gen/PPC64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewritePPC64.go