[PATCH] ipsum_calc_block: Optimize size and speed

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Apr 23 17:12:10 CEST 2010


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




More information about the Bird-users mailing list