crc32: add slice-by-8 algorithm to existing code
authorBob Pearson <rpearson@systemfabricworks.com>
Fri, 23 Mar 2012 22:02:24 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:37 +0000 (16:58 -0700)
commit324eb0f17d9dcead3c60c133aa244f6b3631fec9
tree657c564269a0fc1921f4252dbf0184725f5c85fa
parent9a1dbf6a29694c9d81b498019f103aee0f8b5b6c
crc32: add slice-by-8 algorithm to existing code

Add slicing-by-8 algorithm to the existing slicing-by-4 algorithm.  This
consists of:

- extend largest BITS size from 32 to 64
- extend tables from tab[4][256] to up to tab[8][256]
- Add code for inner loop.

[djwong@us.ibm.com: Minor changelog tweaks]
Signed-off-by: Bob Pearson <rpearson@systemfabricworks.com>
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crc32.c
lib/crc32defs.h
lib/gen_crc32table.c