|
From: Bernhard H. <Ber...@be...> - 2003-07-08 07:44:17
|
> <test.asm snip> > 155: mov r2,a > 158: mov a,#0x01 > 160: add a,r2 > > This could be optimized to: > mov r2,a > inc a > This could be corrected with a peep-file, but it seems like something that > the compiler should have done better in the first place. Ack. I've got a patch for this problem, but it clashes with the over-optimistic peephole rule #212. This rule is hit quite often in model stack-auto. Therefore I didn't apply the patch to keep rule #212. Bernhard |