This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HP-PA ABI issues - framepointer handling
- To: Robert Dewar <dewar at gnat dot com>
- Subject: Re: HP-PA ABI issues - framepointer handling
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 20 Oct 2000 16:21:23 +0200
- Cc: law at cygnus dot com, alex at anvil dot co dot uk, bosch at gnat dot com, gcc at gcc dot gnu dot org, mklein at dis dot com
- References: <20001020141133.F3EF334D8D@nile.gnat.com>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
> 4. The ABI places nasty restrictions on how you can generate code.
>
> That is true of many ABI's for example, the horrible convention on the
> SPARC that all records of any size must be passed by address rather than
> in registers, but gcc follows that rule.
Actually, you're talking just about SPARC 32bit ABI here, 64bit ABI passes
structs up to 16 bytes in appropriate registers (either integer or floating)
and when returning struct, the limit is 32 bytes.
Jakub