23 Apr
2010
23 Apr
'10
3:12 p.m.
Martin Mares <mj@ucw.cz> wrote on 2010/04/23 16:49:48:
Hello!
Just tried this and it didn't with gcc 3.4.3 on PowerPC
It would be better to let gcc unroll the loop (if it is critical for performance, it should be unrolled anyway) and use a newer version of gcc.
Oops, I meant gcc 4.3.4.
Some arch does not have an add with carry insn(MIPS?)
Well, first of all, we should really get a clue about how much time is spent in the checksum function.
Obviously it matters, otherwise why try to optimize it in the first place? While we wait for such results, perhaps we could just use a much simpler one? Jocke