[parisc-linux] floating point calling convention on pa

Randolph Chung Randolph Chung <randolph@tausq.org>
Sat, 19 Apr 2003 23:40:31 -0700


Hi Dave,

Thanks for the quick reply.

I thought I understood it, but this one baffles me:

static int floating(int a, float b, double c, long double d, int e)

i would have guessed this mapped to:

a -> gr26   (sp-36)
b -> fr4L   (sp-40)
c -> fr7    (sp-48)
d -> sp-56
e -> sp-64

but according to gcc, e is at sp-60.

How come?

thanks,
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/