assign_parm_setup_block handling of parallels
Aldy Hernandez
aldyh@redhat.com
Wed Jan 12 18:18:00 GMT 2005
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
More information about the Gcc
mailing list