Sujet : Re: Calling conventions (particularly 32-bit ARM)
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.archDate : 08. Jan 2025, 18:20:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwv8qrlql4p.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3
User-Agent : Gnus/5.13 (Gnus v5.13)
I looked high and low for codes using more than 8 arguments and
returning aggregates larger than 8 double words, and about the
only things I found were a handful of []print[]() calls.
Large numbers of parameters may be generated either by closure
conversion or by lambda lifting.
AFAIK in these cases the same compiler generates the code for the
function and for the calls, so it should be pretty much free to use any
calling convention it likes.
Stefan