This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Alignment and split function args
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: Paul Brook <paul at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Feb 2004 10:04:04 +0000
- Subject: Re: [PATCH] Alignment and split function args
- References: <200402270122.30732.paul@codesourcery.com><m3d681178b.fsf@gossamer.airs.com>
Ian Lance Taylor <ian@wasabisystems.com> writes:
> Paul Brook <paul@codesourcery.com> writes:
>> + /* We assume at most one partial arg, and it must be the first
>> + argument on the stack. */
>> + if (extra_pretend_bytes || current_function_pretend_args_size)
>> + abort ();
>
> Is this assumption true for MIPS EABI, which counts integer and
> floating point registers separately?
Good question ;) But I don't the EABI splits arguments between
registers and stack. Everything is either passed in a single
register, an aligned double register, or by reference.
Richard