This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ABI and complex integral types
> I don't know the answer, but I think we should pass them in registers
> (two consecutive such if possible).
Definitely. The SPARC 64-bit ABI requires the structures up to 16 bytes in
size to be passed in consecutive registers so, by using the structure-like
convention for complex integral types, we'll fulfil that requirement for any
underlying integral type from 'char' to 'long long'.
--
Eric Botcazou