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.

> 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.

                                Have a nice fortnight
-- 
Martin `MJ' Mares                          <m...@ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"I think it's a new feature.  Don't tell anyone it was an accident. :-)" -- 
Larry Wall

Reply via email to