]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crc32: optimize inner loop
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 8 Dec 2011 04:42:26 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:47 +0000 (15:52 +1100)
commitf136d87edb535fb202ac528282ed48b4a46ef459
tree21341aa77199ee4d2a04778a2065d7da1c6f0238
parent943113ed961ee0ede8a84c7d2e87df198e16e95a
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