commit | f8719f5ae5acdc31d3794ddfea8ac963359de41e | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Tue Dec 11 01:11:38 2018 -0800 |
committer | Mark Adler <madler@alumni.caltech.edu> | Wed Dec 26 12:26:52 2018 -0800 |
tree | 70327ff8a4953abd605665ecd458a3c4b1a66443 | |
parent | 41d86c73b21191a3fa9ea5f476fc9f1fc5e4f8b3 [diff] |
Speed up software CRC-32 computation by a factor of 1.5 to 3. Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination.