summaryrefslogtreecommitdiffstats
path: root/src/shared/crc32.c
Commit message (Collapse)AuthorAgeFilesLines
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-161-1/+1
| | | | | | | | | | This change restructures the source code directories, separates shared form non-shared application code and adds CMake dependencies. These dependencies allow the tracking of changes and trigger a rebuild of those build targets where changed files are involved. WARNING: Note that the support of the DNBD3_SERVER_AFL build option is not supported yet. Thus, the option should be never turned on.
* [SHARED] crc32: Don't skip table lookup if PCLMUL is unavailableSimon Rettberg2020-03-191-12/+13
|
* [SERVER] crc32: Fix compile with optimizationsSimon Rettberg2020-03-191-2/+2
| | | | | Should have tested in "Release" mode I guess. Seems we're at about 24x performance this way, so hooray.
* [SERVER] Use PCLMUL for crc32 on AMD64 if availableSimon Rettberg2020-03-191-47/+174
| | | | | | | This is about 16x as fast as before with the lookup table for processing 4 bytes at a time and should work on any AMD64 CPU made in the last decade. We still need an AltiVec implementation for G5 though.
* [SERVER] Get rid of zlib dependencySimon Rettberg2017-10-241-0/+621
We only used it for CRC-32, so now the source tree includes a stripped down version of the crc32 code from the zlib project.