aboutsummaryrefslogtreecommitdiff
path: root/zlib.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2019-02-17 19:48:57 -0800
committerMark Adler <madler@alumni.caltech.edu>2019-02-17 19:48:57 -0800
commit52fc78baf216dac4e76c5eb3bd940f68e87086da (patch)
tree01eb3d1a091ef2e35fd2142061ca1efab0a1b590 /zlib.h
parentaec89faa2e366e5cff501310771afaf16289c6ad (diff)
downloadzlib-52fc78baf216dac4e76c5eb3bd940f68e87086da.tar.gz
zlib-52fc78baf216dac4e76c5eb3bd940f68e87086da.tar.bz2
zlib-52fc78baf216dac4e76c5eb3bd940f68e87086da.zip
Add use of the ARMv8 crc32 instructions when requested.
Define the macro Z_ARM_CRC32 at compile time to use the ARMv8 (aarch64) crc32x and crc32b instructions. This code does not check for the presence of the crc32 instructions. Those instructions are optional for ARMv8.0, though mandatory for ARMv8.1 and later. The use of the crc32 instructions is about ten times as fast as the software braided calculation of the CRC-32. This can noticeably speed up the decompression of gzip streams.
Diffstat (limited to 'zlib.h')
0 files changed, 0 insertions, 0 deletions