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

Re: Debugging info on # spills?


Michael Matz <matz@suse.de> wrote on 08/04/2004 16:37:13:

> Hi,
>
> On Thu, 8 Apr 2004, Mostafa Hagog wrote:
>
> > How about a different but related question.
> > Is there a way to get the number of spilled registers in a given
> > compilation?
>
> Yes, it's simply all pseudos which didn't get a hardreg, i.e. for which
> reg_renumber[p] is < 0 and which are equivalent to nothing.

But even this is not dumped anywhere, right?

>
> But that doesn't say anything about the cost of the added spill code.  In

> the new-ra branch I have some small dumper which basically counts the
cost
> of all stack related loads and stores.  Under the premise that it is
> constant before register allocation it gives at least some relatively
sane
> number about the quality of allocation.
>
Is the new-ra branch stable enough to run SPEC?

>
> Ciao,
> Michael.



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