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


    The SH port has a fake shift insn pattern that pretends to be able to
    shift by amounts that the hardware doesn't actually support.

I'm not sure this is a good idea, for precisely these reasons: it messes up
the counting of instructions that combine does.

Why not do the expansion into smaller shifts at RTL generation time?
Heuristiucs for loops are also messed up by doing it the way it's
currently done.


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