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: Update: reload register allocation patch



> I think that in general, your patch will make some further modifications
> simpler.  However, you still haven't addressed the issue of wrong cost
> calculation for partial overlap of a pseudo by a spill register.

I didn't have time yet, sorry.  I did look at the issue briefly and I agree
that there's a problem, but I didn't do anything about it yet.  I think the
best way to address it is to get rid of spill_costs altogether and have a
list or bitmap that records which pseudos we'd spill if we used a given hard
reg, and then using REG_N_REFS to add up the costs for those pseudos.

Bernd


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