]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crc32: optimize inner loop
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Fri, 2 Dec 2011 03:12:48 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Dec 2011 04:05:38 +0000 (15:05 +1100)
commitbe157dba209a3c5431e2ad7f8a1a5b7afb57168f
tree92bd161c925a57d403f0b06d4baa785b2dfc7018
parentbe7b237613fcde9ab6828a9399ecb599b75edcd6
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