Re: [patch,avr] PR117726: More tweaks to multi-byte shifts

2024-11-22 Thread Denis Chertykov
пт, 22 нояб. 2024 г. в 17:12, Georg-Johann Lay : > > This patch is similar to https://gcc.gnu.org/r15-5569 (tweak ashift:SI) > but for > ashiftrt and lshiftrt codes. It splits constant shift offsets > 16 > into a 3-operand byte shift and a 2-operand residual bit shift. > Moreover, some of the

[patch,avr] PR117726: More tweaks to multi-byte shifts

2024-11-22 Thread Georg-Johann Lay
This patch is similar to https://gcc.gnu.org/r15-5569 (tweak ashift:SI) but for ashiftrt and lshiftrt codes. It splits constant shift offsets > 16 into a 3-operand byte shift and a 2-operand residual bit shift. Moreover, some of the constraint alternatives have been promoted to 3-operand alte