]> 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>
Wed, 7 Dec 2011 05:32:57 +0000 (16:32 +1100)
commit6a8f6edc8a4ce1cbffb5ce55b7bb90042e38d41c
tree434c2860d909b8887d1b97815de658c6b51ae9b3
parent4a85d0f6a7d0e9476826ae922de90efa2a568a2b
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