Re: [Committed] Correct zeroextendqihi2 insn length regression on xstormy16.

2023-04-25 Thread Jeff Law via Gcc-patches
On 4/25/23 05:10, Roger Sayle wrote: My recent tweak to the zeroextendqihi2 pattern on xstormy16 incorrectly handled the case where the operand was a MEM. MEM operands use a longer encoding than REG operands, and the incorrect instruction length resulted in assembler errors (as reported by J

[Committed] Correct zeroextendqihi2 insn length regression on xstormy16.

2023-04-25 Thread Roger Sayle
My recent tweak to the zeroextendqihi2 pattern on xstormy16 incorrectly handled the case where the operand was a MEM. MEM operands use a longer encoding than REG operands, and the incorrect instruction length resulted in assembler errors (as reported by Jeff Law). This patch restores the origina