This is the mail archive of the gcc-patches@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: hard register reload patch


>   > registers.  Joerns patch is a step in that direction (combine_reloads goes
>   > away).
> How related is this to your reload cleanup patch.  It sounds like the same
> thing, and I've already agreed that we're going in the right direction.
> Continuing down this road seems like a reasonable thing to do.

But that aspecty can't be simply broken out - combine_reload reuses hard
registers that die.  If you remove it without a replacement, register pressure
will increase, resulting in worse code and more reload aborts when it runs
out of spill registers.

By patch replaces the functionality of combine_reloads because registers that
die become available as spill registers, and the times they are not usable
are encoded in the hard reloads.

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