Mercurial > pub > dyncall > dyncall
diff doc/manual/callconvs/callconv_sparc.tex @ 190:06ee88ce4962
- doc and comment fixes
author | Tassilo Philipp |
---|---|
date | Tue, 14 Mar 2017 00:07:31 +0100 |
parents | e210193f6cf1 |
children | 600bd90afdb7 |
line wrap: on
line diff
--- a/doc/manual/callconvs/callconv_sparc.tex Mon Mar 13 14:13:26 2017 +0100 +++ b/doc/manual/callconvs/callconv_sparc.tex Tue Mar 14 00:07:31 2017 +0100 @@ -62,11 +62,11 @@ \item stack always aligned to 8 bytes \item first 6 integers and floats are passed independently in registers using \%o0-\%o5 \item for every other argument the stack is used -\item all arguments <= 32 bit are passed as 32 bit values -\item 64 bit arguments are passed like two consecutive <= 32 bit values +\item all arguments \textless=\ 32 bit are passed as 32 bit values +\item 64 bit arguments are passed like two consecutive \textless=\ 32 bit values \item minimum stack size is 64 bytes, b/c stack pointer must always point at enough space to store all \%i* and \%l* registers, used when running out of register windows \item if needed, register spill area is adjacent to parameters -\item results are expected by caller to be returned in \%o0\%o1 (after reg window restore, meaning callee writes to \%i0\%i1) for integers, \%f0/\%f1 for floats, and for structs/unions a pointer to them is used as a hidden stack parameter (see below) +\item results are expected by caller to be returned in \%o0/\%o1 (after reg window restore, meaning callee writes to \%i0/\%i1) for integers, \%f0/\%f1 for floats, and for structs/unions a pointer to them is used as a hidden stack parameter (see below) \end{itemize} \paragraph{Stack layout}