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]
Other format: [Raw text]

Re: Improving reload inheritance code generation and predictability


On 11/19/2010 05:18 PM, Jeff Law wrote:
> On 11/18/10 12:34, Bernd Schmidt wrote:
>> Ideally we'd allocate the valuable ones only to reloads which we know
>> we'll want to inherit in the future.
> True.  But that means knowing the set of reloads for future insns.

We do know that - every chain has its own copy of the rld array.

I guess we could try to add a distance-to-next use array for hard regs
as well, to eliminate the quadratic forward scan at the expense of
higher memory use.


Bernd


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