Hi, Andrew Haley schrieb:
(And, before you ask, I have no idea what the xx = 0; xx = 1; lines are for!)
I think that is this voodoo thing Eljay mentioned :) Okay, it starts ctr with 2, so it's logically to optimize the first 2 loop iterations away by doing it this way. Is there a new -funroll-loops-a-bit option? :)
gcc 4.2 might do better than 4.1.
Hm okay, if i remember the improvement from 3.3 to 4.1, maybe i should give it a try over the weekend.
Thanks so far, at least we know now, that this is a common issue, which only appears on 8bit CPUs.
...Michael