]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj/ppc64: do not assemble non-constant rotate RLWMI
authorPaul E. Murphy <murp@ibm.com>
Fri, 11 Nov 2022 14:38:50 +0000 (08:38 -0600)
committerPaul Murphy <murp@ibm.com>
Thu, 7 Sep 2023 19:20:03 +0000 (19:20 +0000)
commitd80f3966b8b5b2a6e606b416fe80dffeb810ab68
treed59dbe2843f3e44ad985f7f2001014c165b96253
parent2b46cffe574432bd902e9e20fb00846cc2d2817d
cmd/internal/obj/ppc64: do not assemble non-constant rotate RLWMI

Unlike RLWNM, the ISA only supports an immediate rotate operand.

Update optab and opirrr to avoid quietly assembling this insn.

Change-Id: I1472a431cb8a870d55d5fff79ab905c4c459f630
Reviewed-on: https://go-review.googlesource.com/c/go/+/449835
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/internal/obj/ppc64/asm9.go