cmd/compile: use FP-based frame zeroing outside of package runtime on plan9 #19650
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Plan9
Performance
Milestone
In 039d455, we changed cmd/compile to avoid using DUFFZERO and other FP-based frame zeroing methods, because they're not permitted within note handlers.
I think this is overly conservative. It should still be safe to use DUFFZERO on plan9 when we're compiling non-runtime packages, because functions from those packages will never be called by sigtramp. This is probably as simple as changing
to
in cmd/compile/internal/amd64/ggen.go.
Just pointing out since I was looking at related code. Will let some of the plan9 folks decide if this is worth pursuing.
/cc @0intro
The text was updated successfully, but these errors were encountered: