Can you elaborate on what you mean by this? I’m new to go and want to understand the performance implications.
Can you elaborate on what you mean by this? I’m new to go and want to understand the performance implications.
EDIT: and all registers are caller-saved. so when calling a function, all register contents will be saved on the stack (and restored later) even if the function doesn't touch certain registers
i don't think its intended as a stable target and will probably change at some point. the top google hit was a 3rd party site, and this issue is still open [#16922 doc: document assembly calling convention](https://github.com/golang/go/issues/16922)
btw the source i linked in my original comment links to a proposal to allow passing args in registers
https://dr-knz.net/go-calling-convention-x86-64.html#differe...
There's a lesson in there about success, or something...