Debugging info on # spills?

Michael Matz matz@suse.de
Thu Apr 8 14:17:00 GMT 2004


Hi,

On Thu, 8 Apr 2004, Dave Korn wrote:

> > 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
    ^^^^^^^^^^^

> executed a hundred million times, the one spill costs that much more than
> the three.  So 'number of spills' isn't a very useful metric because the
                 ^^^^^^^^^^^^^^^^^^

See the difference?

(It uses basic block costs)


Ciao,
Michael.



More information about the Gcc mailing list