Mercurial > pub > dyncall > dyncall
diff doc/manual/callconvs/callconv_sparc64.tex @ 478:6c72cb768099
callconv doc:
- mips o32 update w/ regards to aggregates
- mips o32 disas examples
- sparc64 doc fixes
author | Tassilo Philipp |
---|---|
date | Tue, 01 Mar 2022 00:16:50 +0100 |
parents | 5be9f5ccdd35 |
children | fc614cb865c6 |
line wrap: on
line diff
--- a/doc/manual/callconvs/callconv_sparc64.tex Sun Feb 27 13:53:18 2022 +0100 +++ b/doc/manual/callconvs/callconv_sparc64.tex Tue Mar 01 00:16:50 2022 +0100 @@ -112,9 +112,9 @@ \begin{itemize} \item results are expected by caller to be returned in \%o0-\%o3 (after reg window restore, meaning callee writes to \%i0-\%i3) for integers \item \%d0,\%d2,\%d4,\%d6 are used for floating point values -\item the fields of aggregates (struct, union) \textless 32 bytes are returned via registers registers mentioned above (which are +\item the fields of aggregates (struct, union) \textless= 32 bytes are returned via registers mentioned above (which are assigned following the same logic as when passing the aggregate as a first argument to a function) -\item aggregates (struct, union) \textgreater= 32 bytes are returned in a space allocated by the caller, with a pointer to it +\item aggregates (struct, union) \textgreater 32 bytes are returned in a space allocated by the caller, with a pointer to it passed as first parameter to the function called (meaning in \%o0) % from spec: %Structure and union return types up to thirty-two bytes in size are returned in registers. The registers are assigned as if