]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crc32: optimize inner loop
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Wed, 16 Nov 2011 23:41:36 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Nov 2011 04:37:47 +0000 (15:37 +1100)
commitd792dae7273ed9b55f5853952e93b4cc50e798e6
tree682616b98d5b22ce8ce5764eeac0783ec2ee1292
parent59d734ce758632d475ef22633e42222b218b0076
crc32: optimize inner loop

Taking a pointer reference to each row in the crc table matrix, one can
reduce the inner loop with a few insn's

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Cc: Bob Pearson <rpearson@systemfabricworks.com>
Cc: Frank Zago <fzago@systemfabricworks.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/crc32.c