This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Your recent reload changes


> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]