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: [patch] Fix behavior of TER on unrolled loops



Maybe everyone else manages to get good code without something like
TER.

That's because we lack other things that people have, like a sane instruction selection and expression reordering pass: other compilers probably have something akin to TER as part of instruction selection. Like many other parts of GCC (right Steven? ;-) TER is not evil by itself -- it is as part of IR lowering.


I think Zdenek's patch is fine, because *everything* in TER is a hack.

Zdenek, maybe you could you try and see if enabling pre-regalloc
scheduling would also make this particular problem you're seeing go
away, just as an experiment...

Couldn't it also make it much worse?


Paolo


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