Re: [Patch,AVR]: Fix loading ZERO_REG with 0 in ISR prologue

2012-01-02 Thread Denis Chertykov
2012/1/2 Georg-Johann Lay : > This is fix for ISR prologue that "cleared" zero reg with > >  mov __zero_reg__,__zero_reg__ > > The right way is > >  clr __zero_reg__ > > of course. As CLR does change cc0 notice_update_cc needs to be adapted. > > Passes testsuite. Moreover, lightly tested on ISR sou

[Patch,AVR]: Fix loading ZERO_REG with 0 in ISR prologue

2012-01-02 Thread Georg-Johann Lay
This is fix for ISR prologue that "cleared" zero reg with mov __zero_reg__,__zero_reg__ The right way is clr __zero_reg__ of course. As CLR does change cc0 notice_update_cc needs to be adapted. Passes testsuite. Moreover, lightly tested on ISR source (there is no ISR test case in test suit