]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: be more conservative about arm64 insns that can take zero register
authorKeith Randall <khr@golang.org>
Sat, 5 Apr 2025 15:34:12 +0000 (08:34 -0700)
committerKeith Randall <khr@golang.org>
Mon, 7 Apr 2025 02:11:43 +0000 (19:11 -0700)
commit16dbd2be3969f4658ced59ddb89871d9f00cf3a5
tree686d7d006ca2270bcdf95d9ea00f9fcbd6ae029b
parent6fd9ee3da9dc5570f66735e835cac2d66a0f6244
cmd/compile: be more conservative about arm64 insns that can take zero register

It's really only needed for stores and store-like instructions
(atomic exchange, compare-and-swap, ...).

Fixes #73180

Change-Id: I8ecd833a301355adf0fa4bff43250091640c6226
Reviewed-on: https://go-review.googlesource.com/c/go/+/663155
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
src/cmd/compile/internal/ssa/opGen.go
test/fixedbugs/issue73180.go [new file with mode: 0644]