This is the mail archive of the gcc@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: Your change to emit_group_{load,store}


On Tue, Oct 26, 2004 at 08:55:21PM -0400, Aldy Hernandez wrote:
> > >(parallel:TF [
> > >        (expr_list:REG_DEP_TRUE (reg:DF 45 f13 [ g ])
> > >            (const_int 0 [0x0]))
> > >
> > >Now...can someone tell me what in the world that means?
> > 
> > The notes establish a mapping between the registers of a multiple-word
> > parameter and the offsets in the parameter memory block that holds them.
> > (i.e. F13 gets stored at offset 0).  The fact that it dumps as 
> > REG_DEP_TRUE
> > is a bug.  Fariborz has fought with this quite a bit lately....
> 
> Is this documented somewhere?  Surely, this is a parallel contruct I
> am unfamiliar with.  

Yes.  tm.texi FUNCTION_ARG.

> Parameter memory block?  Are the values passed in multi-regs *and*
> in memory?

Yes, that is possible.  Some of the ppc ABIs require that params to a
non-prototyped function be passed both in registers and memory.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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