ABI and complex integral types
Eric Botcazou
ebotcazou@libertysurf.fr
Fri Jun 20 14:20:00 GMT 2003
Hi,
What is the common ABI convention (if any) for passing complex integral
arguments by value to functions? Structure-like or list-like?
Currently the SPARC64 port uses a mix of both :-) For example, in order to
pass a complex int (2 x 32-bit), it reserves two 64-bit slots but loads the
whole argument in the first slot. So we end up with holes in the arguments
array (which incidentally fools the va_list handling code).
--
Eric Botcazou
More information about the Gcc
mailing list