What you are talking about is ABIInternal, which is currently supported only in the standard library (and compiler output). More details at https://go.googlesource.com/go/+/refs/heads/dev.regabi/src/cmd/compile/internal-abi.md We've been thinking about snapshotting ABIInternal as ABI1 at some point, so it can be used externally. No concrete plans yet.
On Wednesday, May 14, 2025 at 7:26:02 AM UTC-7 christoph...@gmail.com wrote: > I'm experimenting with assembly and apparently (based on objdump output), > my assembly uses the abi0 which requires to pass parameters and results > with the call stack. > > Looking at the runtime assembly, it seam possible to pass and receive > arguments directly by registers. Is it possible to use this ABI (abi1?) or > is its use restricted to the runtime ? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/69b38b18-b1f1-4be2-bc8d-4c64cd0137d0n%40googlegroups.com.