This series contains the simplification of chain of shift instructions. More precisely it contains the simplification of: * LSR + LSR * LSR + ASR * ASR + ASR * SHL + SHL This series is available for review & testing in the Git repository at: git://github.com/lucvoo/sparse-dev.git big-shift-optim ---------------------------------------------------------------- Luc Van Oostenryck (3): add helper: DEF_OPCODE() shift: simplify LSR(LSR(x,N),N') & friends shift: simplify ASR(LSR(x,N),N') simplify.c | 47 ++++++++++- validation/optim/lsr-asr.c | 46 ++++++++++ validation/optim/shift-shift.c | 149 +++++++++++++++++++++++++++++++++ 3 files changed, 241 insertions(+), 1 deletion(-) create mode 100644 validation/optim/lsr-asr.c create mode 100644 validation/optim/shift-shift.c -- 2.18.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html