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: Proposed major change to combine


    combine chokes on anything involving more than three insns.

True.

    Moreover, a lot of optimizations try to recognize insn, rather than go
    through the expanders.

That's true too.

I agree this is a tradeoff and there are *sometimes* cases where it's valuable
to have an insn that corresponds to multiple instructions (a good example
is movdi on 32-bit machines), but I'd be against adding code to combine to
"understand" these cases since I think they are rare and are to be avoided
as much as possible (as I said, they also mess up heuristics in loop.c0.


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