This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Update: reload register allocation patch
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Update: reload register allocation patch
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Sat, 13 Nov 1999 11:43:28 +0000 (GMT)
- cc: gcc-patches at gcc dot gnu dot org
> 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