This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Irix calling conventions for complex numbers
>
> > Where in gcc do I look to see if this is the case?
>
> if (GET_MODE_CLASS (mode) == MODE_COMPLEX_FLOAT
> && GET_MODE_SIZE (mode) <= UNITS_PER_HWFPVALUE * 2)
> return mips_return_fpr_pair (mode,
> GET_MODE_INNER (mode), 0,
> GET_MODE_INNER (mode),
> GET_MODE_SIZE (mode) / 2);
>
> from mips_function_value.
Bah. I meant more than this...
There's also mips_arg_info which talks about argument passing for a
single argument and where that argument needs to reside. Also from there
look at function_arg_advance.
-eric
--
Eric Christopher <echristo@redhat.com>