Re:Show HN: C to Go Assembly
by chrisseaton on Thursday May 25, 2017 @04:55AM
(#14416114)
Yes I know it's architecture specific. Many lowered IRs are. The equivalent I gave, Java's C2 IR, is also architecture specific, which is why I used it.
Freedoms taken by the go assemblers also seem to be decreasing as the compiler becomes smarter. E.g. instruction reordering is no longer performed (https://github.com/golang/go/issues/15837).
You can read about the assemblers here: https://golang.org/doc/asm