]> 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>
Fri, 2 Dec 2011 03:15:44 +0000 (14:15 +1100)
commit91da26522c0dd303c05dfa43f75dda812e410cd8
tree7e05f971dd17c2c00907c02ef80bc0d21dc01eba
parentdec5409bdf97ec38253fb4439babe3fa3eff3e11
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