This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: assign_parm_setup_block handling of parallels
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc at gcc dot gnu dot org,Richard Henderson <rth at redhat dot com>,dje at watson dot ibm dot com
- Date: Wed, 12 Jan 2005 18:14:36 +0100
- Subject: Re: assign_parm_setup_block handling of parallels
- References: <20041223202824.GA8247@redhat.com> <20041223223759.GA19928@redhat.com> <20050112165517.GA21567@redhat.com>
> /* 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)])
> ! && use_register_for_decl (parm))
> ! {
You've reintroduced the pessimization on SPARC 64-bit. :-)
--
Eric Botcazou