Re: [Patch,AVR]: Fix PR 50358

2011-09-16 Thread Denis Chertykov
2011/9/16 Georg-Johann Lay : > Georg-Johann Lay schrieb: >> Denis Chertykov schrieb: >>> 2011/9/12 Georg-Johann Lay : This patch introduces patterns for multiply-add and multiply-sub. On the enhanced core, these operations can be performed with the product in R0; there is

Re: [Patch,AVR]: Fix PR 50358

2011-09-16 Thread Georg-Johann Lay
Georg-Johann Lay schrieb: > Denis Chertykov schrieb: >> 2011/9/12 Georg-Johann Lay : >>> This patch introduces patterns for multiply-add and multiply-sub. >>> >>> On the enhanced core, these operations can be performed with the product in >>> R0; >>> there is no need to MOVW it out of that registe

Re: [Patch,AVR]: Fix PR 50358

2011-09-16 Thread Georg-Johann Lay
Denis Chertykov schrieb: > 2011/9/12 Georg-Johann Lay : >> This patch introduces patterns for multiply-add and multiply-sub. >> >> On the enhanced core, these operations can be performed with the product in >> R0; >> there is no need to MOVW it out of that register. The code is smaller and >> fas

Re: [Patch,AVR]: Fix PR 50358

2011-09-13 Thread Denis Chertykov
2011/9/12 Georg-Johann Lay : > This patch introduces patterns for multiply-add and multiply-sub. > > On the enhanced core, these operations can be performed with the product in > R0; > there is no need to MOVW it out of that register.  The code is smaller and > faster and has lower register pressu

[Patch,AVR]: Fix PR 50358

2011-09-12 Thread Georg-Johann Lay
This patch introduces patterns for multiply-add and multiply-sub. On the enhanced core, these operations can be performed with the product in R0; there is no need to MOVW it out of that register. The code is smaller and faster and has lower register pressure. Tested without regressions. Ok to c