Mercurial > pub > dyncall > dyncall
diff doc/manual/callconvs/callconv_x64.tex @ 486:d160046da104
doc cleanup: removed outdated/wrong info and fixed wrong value size specs
author | Tassilo Philipp |
---|---|
date | Thu, 17 Mar 2022 17:56:44 +0100 |
parents | b47168dacba6 |
children | 75cb8f79d725 |
line wrap: on
line diff
--- a/doc/manual/callconvs/callconv_x64.tex Thu Mar 17 15:41:26 2022 +0100 +++ b/doc/manual/callconvs/callconv_x64.tex Thu Mar 17 17:56:44 2022 +0100 @@ -106,10 +106,9 @@ \paragraph{Return values} \begin{itemize} -\item return values of pointer or integral type (\textless=\ 64 bits) are returned via the rax register +\item return values of pointer, integral or aggregate (structs and unions) type (\textless=\ 64 bits) are returned via the rax register \item floating point types are returned via the xmm0 register -\item aggregates (structs and unions) \textless\ 64 bits are returned via the rax register -\item for types \textgreater\ 64 bits, a hidden first parameter, with an address to the return value is passed (for C++ thiscalls it is passed as {\bf second} parameter, after the this pointer) +\item for any other type \textgreater\ 64 bits, a hidden first parameter, with an address to the return value is passed (for C++ thiscalls it is passed as {\bf second} parameter, after the this pointer) \end{itemize}