]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: extend loong MOV*idx rules to match ADDshiftLLV
authorJorropo <jorropo.pgm@gmail.com>
Tue, 28 Oct 2025 09:48:18 +0000 (10:48 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 28 Oct 2025 16:45:14 +0000 (09:45 -0700)
commit30c047d0d06cdbc2983e86daaa3b0bc1afb86706
treee62d780c45de517f6b49b198b74c8ac25bd65451
parent46e5e2b09a6df80a3b6472c5f7ca5739365b6676
cmd/compile: extend loong MOV*idx rules to match ADDshiftLLV

Fixes #76085

I was focused on restoring the old behavior and fixing the failing
test/codegen/floats.go:index* tests.

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

Change-Id: Ibb2cb2be5c7bbeb5eafa9705d998a67380f2b04c
Reviewed-on: https://go-review.googlesource.com/c/go/+/715580
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/compile/internal/ssa/_gen/LOONG64.rules
src/cmd/compile/internal/ssa/rewriteLOONG64.go