]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: extend ppc64 MADDLD to match const ADDconst & MULLDconst
authorJorropo <jorropo.pgm@gmail.com>
Tue, 28 Oct 2025 09:11:03 +0000 (10:11 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 28 Oct 2025 18:13:41 +0000 (11:13 -0700)
commit81afd3a59be1a3f343bf2b9d6665cd0fc825c6ba
tree68a349fe9fc37364345279587c0b406ae3afd73e
parentea50d61b667276bfd3449d5e172adc4b92f72290
cmd/compile: extend ppc64 MADDLD to match const ADDconst & MULLDconst

Fixes #76084

I was focused on restoring the old behavior and fixing the failing
test/codegen/arithmetic.go:MergeMuls2 test.

It is probable this same bug hides elsewhere in this file.

Change-Id: I17f2ee6b97a1e33b8132648d9d750749d006f7e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/715560
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Paul Murphy <paumurph@redhat.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jayanth Krishnamurthy <jayanth.krishnamurthy@ibm.com>
src/cmd/compile/internal/ssa/_gen/PPC64.rules
src/cmd/compile/internal/ssa/rewritePPC64.go