This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: frv: asm reloads for pseudos assigned to memory fail
- From: Richard Henderson <rth at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Jul 2004 14:42:01 -0700
- Subject: Re: frv: asm reloads for pseudos assigned to memory fail
- References: <orllhj1b8k.fsf@livre.redhat.lsd.ic.unicamp.br>
On Sat, Jul 17, 2004 at 01:58:03AM -0300, Alexandre Oliva wrote:
> Even if I relaxed the check to be non-strict (since the next round of
> reloading would presumably fix things up, I thought), it failed
> because the pseudo had become a mem(fp+offset), but the insn had
> already been recognized as one that doesn't accept memory inputs, so
> it just fell apart.
Yes. Reload *relies* on having a single move pattern. FRV has
split its move patterns into at least two pieces, which is
pretty much always going to fail.
Your patch merely papers over the problem. Merge all the move
patterns back into one.
r~