Open rsc opened 9 years ago
I think it's only cmd/internal/obj/x86 that implements this optimization, i.e. arm and mips need this too.
CL https://golang.org/cl/31357 mentions this issue.
Also 386. (amd64 has this optimization, but 386 doesn't.)
Change https://golang.org/cl/302853 mentions this issue: cmd/internal/obj/arm64: mark functions with small stacks NOSPLIT
See #11482 and CL 17165. The fix was to add nosplit tags, but the implication is that arm64 and ppc64 do not have the same "auto-nosplit" optimization that the other architectures do for leaf functions with tiny frames. They should.