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]

Re: CSE memory leaks and old problems


    I removed this flush, and can't see the quadratic behavior it's
    referring to.  

I put that in.  The issue is that the number of things that cause
invalidation of memory (e.g., calls) are a linear function of the size of a
basic block and the number of things each needs to examine in the table
is also a linear function of the size of the block and so the aggregate
affect is quadratic in the size of the block.

    I tried functions with 15k insns in them, 

Try functions with something like 30k insn in a single basic block and
you'll get the behavior I put that in to prevent.  We were talking about
compile times measures in tens of minutes.


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