Re: [patch,avr] Overhaul shift insns

2024-11-19 Thread Denis Chertykov
вт, 19 нояб. 2024 г. в 15:32, Georg-Johann Lay : > > This patch adds 3-operand alternatives to the shift insns for > offsets that are one less than the bit-size of the mode. > For example, ashrhi3 can support "r,r,C15" without overhead. > Apart from that, the asm out functions for the shifts now us

[patch,avr] Overhaul shift insns

2024-11-19 Thread Georg-Johann Lay
This patch adds 3-operand alternatives to the shift insns for offsets that are one less than the bit-size of the mode. For example, ashrhi3 can support "r,r,C15" without overhead. Apart from that, the asm out functions for the shifts now use avr_asm_len to print assembly and to track the isnsns' l