This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 8/16bit oddities on avr-gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]