]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal: add RLDICR opcode for PPC64
authorPaul E. Murphy <murp@ibm.com>
Tue, 27 Jun 2023 16:30:29 +0000 (11:30 -0500)
committerPaul Murphy <murp@ibm.com>
Mon, 14 Aug 2023 20:31:17 +0000 (20:31 +0000)
commit41c71d48a126b1429babad2c1df23b773b1fc702
tree483a41e6b937ed3d3053c9479d2cac7d70d21ee2
parent756841bffa561bedf855cd2b56d07a459ed52939
cmd/compile/internal: add RLDICR opcode for PPC64

This is encoded similarly to RLDICL, but can clear the least
significant bits.

Likewise, update the auxint encoding of RLDICL to match those
used by the rotate and mask word ssa opcodes for easier usage
within lowering rules. The RLDICL ssa opcode is not used yet.

Change-Id: I42486dd95714a3e8e2f19ab237a6cf3af520c905
Reviewed-on: https://go-review.googlesource.com/c/go/+/515575
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
src/cmd/compile/internal/ssa/opGen.go