[committed] More H8 cleanups

2020-02-12 Thread Jeff Law
This is another small H8 cleanup. This time we're killing a peephole2 that doesn't seem terribly useful. The peephole in question narrows a SImode comparison to QImode when it's fed by an (and (xor)) and the result is the same in either mode. I couldn't get this to trigger within libgcc, newlib

[committed] More H8 cleanups, mostly expander consolidation

2018-07-03 Thread Jeff Law
Another batch of cleanups/consolidations. First, the move patterns. This consolidates the movXX expanders -- this can slightly change the generated code on the H8/SX due to an inconsistency in the old movhi expander that is fixed by this change. The expanders for logicals and basic arithmetic w