[PATCH] ipsum_calc_block: Optimize size and speed

Martin Mares mj at ucw.cz
Fri Apr 23 16:49:48 CEST 2010


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                          <mj at 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



More information about the Bird-users mailing list