cmd/compile: store pairing on arm64 misses some cases #71987
Labels
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
help wanted
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Performance
Milestone
After CL 633075, this program:
Compiles to:
It would be better to compile to 3
STP
s. Because the pairing is chosen greedily we get stuck in a local maximum that isn't optimal. Not sure what to do about it yet.(Note that if we assign
i
andj
in order, we do get 3STP
s.)The text was updated successfully, but these errors were encountered: