RE: [Patch,AVR]: Fix PR50449

2011-09-20 Thread Weddington, Eric
> -Original Message- > From: Georg-Johann Lay [mailto:a...@gjlay.de] > Sent: Tuesday, September 20, 2011 12:28 PM > To: gcc-patches@gcc.gnu.org > Cc: Weddington, Eric; Anatoly Sokolov; Denis Chertykov > Subject: [Patch,AVR]: Fix PR50449 > > This is fix for a mino

[Patch,AVR]: Fix PR50449

2011-09-20 Thread Georg-Johann Lay
This is fix for a minor performance regression introduced by my changes in trunk r175956: To load a 32-bit constant like 1 into R2, 4.6 uses CLR R2 CLR R3 MOVW R4,R2 INC R2 whereas trunk prints the longer CLR R2 INC R2 CLR R3 CLR R4 CLR R5 Th