comparison doc/manual/callconvs/callconv_ppc32.tex @ 530:585dcb68f55d

- more doc and disas examples for x86 fastcall and non-trivial aggregates
author Tassilo Philipp
date Sat, 16 Apr 2022 12:10:02 +0200
parents fc614cb865c6
children
comparison
equal deleted inserted replaced
529:fe694c7677b4 530:585dcb68f55d
259 259
260 260
261 \subsubsection{System V PPC 32-bit / Linux Standard Base version} 261 \subsubsection{System V PPC 32-bit / Linux Standard Base version}
262 262
263 This is in essence the same as the System V PPC 32-bit calling convention, but differs for aggregate return values: 263 This is in essence the same as the System V PPC 32-bit calling convention, but differs for aggregate return values:
264 % @@@STRUCT make this more obvious 264 % @@@AGGR could be more verbose
265 265
266 \begin{itemize} 266 \begin{itemize}
267 \item for all aggregates, the caller allocates space, passes pointer to it to the callee as a hidden first param 267 \item for all aggregates, the caller allocates space, passes pointer to it to the callee as a hidden first param
268 (meaning in gpr3), and callee writes return value to this space; the ptr to the aggregate is returned in gpr3 268 (meaning in gpr3), and callee writes return value to this space; the ptr to the aggregate is returned in gpr3
269 \end{itemize} 269 \end{itemize}