PATCH: libffi: improvements for MIPS o32.

Richard Sandiford rsandifo@redhat.com
Thu Jul 1 06:44:00 GMT 2004


David Daney <ddaney@avtrex.com> writes:
> Does it make sense to check the value of __mips_soft_float when building
> libffi to control how it (libffi) handles the differences between o32 w/
> FPU and o32 w/ soft float?

Sounds reasonable.  __mips_soft_float will be defined iff gcc is
using the soft-float version of the ABI.

> Do n32 and n64 have similar issues?

Yes.

> If so, doesn't this mean that in effect there are 6 mips ABIs (o32, n32
> and n64) x (hard_float, soft_float)?

Yes.  Plus there's the abicalls/non-abicalls difference, which at least
from one POV bumps it up to 12.  For example, $gp is call-clobbered in
o32 abicalls code but effectively call-saved in o32 non-abicalls code.

I don't know how much the abicalls differences will affect libffi though.
I guess you're just interested in abicalls anyway.

Richard



More information about the Java-patches mailing list