This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: complex support on alpha


On Thu, Oct 02, 1997 at 12:21:37PM -0400, Weiwen Liu wrote:
>
> > FC f1(int odd, FC a, FC b, FC c)
> > {
> >   return a + b + c;
> > }
> 
> I have a question concerning f1:
> How do we pass C of f1?  Both real and imagine part on stack, or real on
> register and imagine on stack?

As if the two parts were separate operands -- real in $f21, imaginary
on stack in a 64-bit aligned field.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]