Re: [patch,avr] minor tweaks for 8-bit operations

2016-07-29 Thread Georg-Johann Lay
On 14.07.2016 08:36, Denis Chertykov wrote: 2016-07-13 14:12 GMT+03:00 Georg-Johann Lay : This patch contains some unrelated tweaks - Supplying no-ldregs variant for andqi3, iorqi3 where a const_int mask affects only 1 bit - Some patterns that match situations with zero_extend that can be pe

Re: [patch,avr] minor tweaks for 8-bit operations

2016-07-14 Thread Georg-Johann Lay
On 14.07.2016 05:55, Senthil Kumar Selvaraj wrote: Georg-Johann Lay writes: This patch contains some unrelated tweaks [...] - Some patterns that match situations with zero_extend that can be performed with less instructions / register pressure. From my (admittedly limited) attempts at code

Re: [patch,avr] minor tweaks for 8-bit operations

2016-07-13 Thread Denis Chertykov
2016-07-13 14:12 GMT+03:00 Georg-Johann Lay : > > This patch contains some unrelated tweaks > > - Supplying no-ldregs variant for andqi3, iorqi3 where a const_int mask > affects only 1 bit > > - Some patterns that match situations with zero_extend that can be performed > with less instructions /

Re: [patch,avr] minor tweaks for 8-bit operations

2016-07-13 Thread Senthil Kumar Selvaraj
Georg-Johann Lay writes: > This patch contains some unrelated tweaks > > - Supplying no-ldregs variant for andqi3, iorqi3 where a const_int mask > affects > only 1 bit > > - Some patterns that match situations with zero_extend that can be performed > with less instructions / register pressure.

[patch,avr] minor tweaks for 8-bit operations

2016-07-13 Thread Georg-Johann Lay
This patch contains some unrelated tweaks - Supplying no-ldregs variant for andqi3, iorqi3 where a const_int mask affects only 1 bit - Some patterns that match situations with zero_extend that can be performed with less instructions / register pressure. - comparing HI against -1 Ok for tru