Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Denis Chertykov
2011/7/6 Georg-Johann Lay : > Denis Chertykov wrote: >> I have asked about example of *d instead of !d. >> Just svn GCC with *d vs svn GCC !d. >> >> Denis. > > Is the patch ok with the original !d instead of *d ? Ok. Denis.

Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Georg-Johann Lay
Denis Chertykov wrote: > I have asked about example of *d instead of !d. > Just svn GCC with *d vs svn GCC !d. > > Denis. Is the patch ok with the original !d instead of *d ? It still improves and the !d vs. *d don't matter because there's always r I think. Johann

Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Georg-Johann Lay
Denis Chertykov wrote: > 2011/7/6 Georg-Johann Lay : >> Denis Chertykov wrote: >>> 2011/7/6 Georg-Johann Lay : For loading a 32-bit constant in a register, there is room for improvement: * SF can be handled the same way as SI and therefore the patch adds a peep2 to produce

Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Denis Chertykov
2011/7/6 Georg-Johann Lay : > Denis Chertykov wrote: >> 2011/7/6 Georg-Johann Lay : >>> For loading a 32-bit constant in a register, there is room for >>> improvement: >>> >>> * SF can be handled the same way as SI and therefore the patch >>>  adds a peep2 to produce a *reload_insf analogon to *rel

Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Georg-Johann Lay
Denis Chertykov wrote: > 2011/7/6 Georg-Johann Lay : >> For loading a 32-bit constant in a register, there is room for >> improvement: >> >> * SF can be handled the same way as SI and therefore the patch >> adds a peep2 to produce a *reload_insf analogon to *reload_insi. >> >> * If the destination

Re: [Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Denis Chertykov
2011/7/6 Georg-Johann Lay : > For loading a 32-bit constant in a register, there is room for > improvement: > > * SF can be handled the same way as SI and therefore the patch >  adds a peep2 to produce a *reload_insf analogon to *reload_insi. > > * If the destination register overlaps NO_LD_REGS, v

[Path,AVR]: Improve loading of 32-bit constants

2011-07-06 Thread Georg-Johann Lay
For loading a 32-bit constant in a register, there is room for improvement: * SF can be handled the same way as SI and therefore the patch adds a peep2 to produce a *reload_insf analogon to *reload_insi. * If the destination register overlaps NO_LD_REGS, values already loaded into some other