??? 02/16/07 09:45 Read: times |
#133114 - SDCC peephole optimiser conflict Responding to: ???'s previous message |
I had a closer look at that last example, as I think this is quite a simple case (djnz).
I found out that this is exactly the case, when one of the strengths of SDCC - the peephole optimizer - turned into its weakness. The trouble is, that the peephole optimisations do interact. In this case, there is a peephole optimisation (#257.b) which is supposed to turn a dec/jnz pair into djnz; but it is "spoiled" by peephole #160.c, which turns jnz (and subsequent jmp) into jz... JW |