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: What to do with new-ra for GCC 4.0


    To avoid spilling, it must try to satisfy constraints before
    allocating.  I am fairly sure this strategy would also help the
    existing allocator.

But of course, the existing register allocator *is* trying to satisfy
constraints: that's what the whole register class preferencing logic is
all about.

    > and its core algorithm is comprehensible enough 

    I disagree ;-)

The *core* algorithm is indeed quite comprehensible.  It's the add-ons that
basically try to implement a register allocator that are very hard to
comprehend (I can't anymore either).


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