This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.3/mainline] Fix x86-64 returning of structures
- From: Jan Hubicka <jh at suse dot cz>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com, aj at suse dot de
- Date: Fri, 14 Mar 2003 21:21:04 +0100
- Subject: Re: [3.3/mainline] Fix x86-64 returning of structures
- References: <20030313172812.GG6237@kam.mff.cuni.cz>
>
> Hi,
> x86-64 ABI requires address of structure returned in memory to be returned in
> RDI instead of RAX usual data are returned to save move instruction otherwise
> necesary in each such function. Apparently we don't have any target knob
> to control this, so I had to add new one.
> Regtested/bootstrapped i386, x86-64 testing in progress.
> OK for 3.3 and mainline?
Ignore this patch. I checked old draft of the ABI.
Honza