On Thu, Jul 18, 2019 at 7:23 PM Uros Bizjak <ubiz...@gmail.com> wrote: > > Attached patch fixes several strict_low_part insn patterns to operate > only on register outputs. Also, the patch paves the was for patterns > to handle unmatched registers (once PR82524) is fixed, and allows > patterns to operate on HImode operands.
Please note that variable shifts currently don't trigger this optimization (but constant shift do) due to unnecessary promotion to int, as reported in PR91202 [1]. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91202 Uros.