This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.3/mainline] Fix x86-64 returning of structures


> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]