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: assign_parm_setup_block handling of parallels


On Wed, Jan 12, 2005 at 06:14:36PM +0100, Eric Botcazou wrote:
> >     /* If we've a non-block object that's nevertheless passed in parts,
> >        reconstitute it in register operations rather than on the stack.  */
> >     if (GET_CODE (entry_parm) == PARALLEL
> > !       && data->nominal_mode != BLKmode)
> >       {
> > !       rtx elt0 = XEXP (XVECEXP (entry_parm, 0, 0), 0);
> >
> > !       if ((XVECLEN (entry_parm, 0) > 1
> > ! 	   || hard_regno_nregs[REGNO (elt0)][GET_MODE (elt0)])

Ooops, that should be "> 1" for the hard_regno_nregs check.

> > ! 	  && use_register_for_decl (parm))
> > ! 	{
> 
> You've reintroduced the pessimization on SPARC 64-bit. :-)

How so?  Won't "XVECLEN (entry_parm, 0) > 1" take care of sparc64-bit?

Aldy


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