]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add PPC64 ssa ops to support carry chain arithmetic
authorPaul E. Murphy <murp@ibm.com>
Tue, 22 Mar 2022 13:41:34 +0000 (08:41 -0500)
committerPaul Murphy <murp@ibm.com>
Tue, 29 Mar 2022 22:08:15 +0000 (22:08 +0000)
commit3d7ca9f7c06e52546f12d8d7c96df3712e09b4c1
tree915483f42846e2396741f471891013e8fe77206e
parentdac0220841a44815584c83d26e9f9a45f5560f6d
cmd/compile: add PPC64 ssa ops to support carry chain arithmetic

These are the opcodes required to lower math/bits.Add64 and
math/bits.Sub64 directly into ssa form. Likewise, opcodes which
clobber CA are marked.

This does not alter code generation. It prepares for future changes
to support scheduling carry chaining ops more effectively, and then
changes to lower into PPC64 opcodes.

Change-Id: I2723deee4a98b3c365f691857512df53280ae40f
Reviewed-on: https://go-review.googlesource.com/c/go/+/394594
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/gen/PPC64Ops.go
src/cmd/compile/internal/ssa/opGen.go