mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-01-31 11:13:14 +01:00
Ported over the more efficient linux crc32() function. A quick comparsion on ppc: After changing the old crc32 to do 4 bytes in the inner loop to be able to compare with new version one can note: - old inner loop has 61 insn, new has 19 insn. - new crc32 does one 32 bit load of data to crc while the old does four 8 bits loads. - size is bit bigger for the new crc32: 1392(old) 1416(new) of text. The is because the new version shares code with crc32_no_comp() instead of duplicating code. - about 33% faster on ppc: New > crc 0 0xfffffff -> 39 secs Old > crc 0 0xfffffff -> 60 secs Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> |
||
|---|---|---|
| .. | ||
| lzma | ||
| lzo | ||
| addr_map.c | ||
| bzlib.c | ||
| bzlib_crctable.c | ||
| bzlib_decompress.c | ||
| bzlib_huffman.c | ||
| bzlib_private.h | ||
| bzlib_randtable.c | ||
| crc16.c | ||
| crc32.c | ||
| ctype.c | ||
| display_options.c | ||
| div64.c | ||
| gunzip.c | ||
| ldiv.c | ||
| lmb.c | ||
| Makefile | ||
| md5.c | ||
| rbtree.c | ||
| sha1.c | ||
| sha256.c | ||
| string.c | ||
| strmhz.c | ||
| vsprintf.c | ||
| zlib.c | ||