This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [mn10300] return-in-a0-d0 ABI helper
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
> > You do need real modes for the parallel elements. Look at
> > emit_group_store, which is what should wind up handling this case.
>
> Sure? SPARC does it that way too.
Whoops, you're right. I misread emit_group_store. It does this:
/* Copy the (probable) hard regs into pseudos. */
for (i = start; i < XVECLEN (src, 0); i++)
{
rtx reg = XEXP (XVECEXP (src, 0, i), 0);
tmps[i] = gen_reg_rtx (GET_MODE (reg));
emit_move_insn (tmps[i], reg);
}
So it's picking up the mode from the register, not from the EXPR_LIST.
Never mind. Sorry.
Ian