This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Your recent reload changes
- To: law at cygnus dot com
- Subject: Re: Your recent reload changes
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 22 Aug 2000 22:25:20 +0100 (BST)
- CC: rth at cygnus dot com, gcc at gcc dot gnu dot org
> Reload 3: R1_REGS, RELOAD_FOR_INPUT_ADDRESS (opnum = 1), can't combine,
> secondar
> y_reload_p
> reload_reg_rtx: (reg:SI 1 %r1)
Looking at the reload_insi pattern of the pa, I see that it applies to all
destinations of all register classes, and is used with any source that is
not a hard register. Couldn't you make this pattern restrictive, so that
it only triggers when you genuinely need a scratch register?
Reload is perfectly capable of dealing with intermediary registers on its
own.