Re: [PATCH] aarch64: Restore bfxil optimization [PR100028]

2021-04-13 Thread Richard Sandiford via Gcc-patches
Jakub Jelinek writes: > Hi! > > Similarly to PR87763 for bfi, the GCC 9 combiner changes to not combine > moves from hard registers regressed the following testcase where we no > longer recognize bfxil and emit 3 instructions instead. > > The following patch adds define_insn patterns that match wh

[PATCH] aarch64: Restore bfxil optimization [PR100028]

2021-04-13 Thread Jakub Jelinek via Gcc-patches
Hi! Similarly to PR87763 for bfi, the GCC 9 combiner changes to not combine moves from hard registers regressed the following testcase where we no longer recognize bfxil and emit 3 instructions instead. The following patch adds define_insn patterns that match what the combiner is trying to match