]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use constant zero register instead of specialized zero instructions...
authorJulian Zhu <jz531210@gmail.com>
Thu, 4 Sep 2025 06:30:21 +0000 (14:30 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 9 Sep 2025 19:08:27 +0000 (12:08 -0700)
commitbdd51e785580ce86142e662425982a2673e7c9c6
tree1eff5fa26fc6c49ecc7a7343646c1918c576ee8b
parent10ac80de7732bd866abce03d18f3d512ea33ba14
cmd/compile: use constant zero register instead of specialized zero instructions on mips64x

Refer to CL 633075, mips64x has a constant zero register that can be used to do this.

Change-Id: I7b60f9a9fe0015299f48b9219ba0eddd3c02e07a
Reviewed-on: https://go-review.googlesource.com/c/go/+/700935
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
src/cmd/compile/internal/mips64/ssa.go
src/cmd/compile/internal/ssa/_gen/MIPS64.rules
src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go
src/cmd/compile/internal/ssa/_gen/MIPS64latelower.rules [new file with mode: 0644]
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/regalloc.go
src/cmd/compile/internal/ssa/rewriteMIPS64.go
src/cmd/compile/internal/ssa/rewriteMIPS64latelower.go [new file with mode: 0644]