libz-sys 1.1.28

Low-level bindings to the system libz library (also known as zlib).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* crc32_vpclmulqdq.c -- VPCMULQDQ-based CRC32 folding implementation.
 * Copyright Wangyang Guo (wangyang.guo@intel.com)
 * For conditions of distribution and use, see copyright notice in zlib.h
 */

#ifdef X86_VPCLMULQDQ_CRC

#define X86_VPCLMULQDQ
#define CRC32_FOLD_COPY  crc32_fold_vpclmulqdq_copy
#define CRC32_FOLD       crc32_fold_vpclmulqdq
#define CRC32_FOLD_RESET crc32_fold_vpclmulqdq_reset
#define CRC32_FOLD_FINAL crc32_fold_vpclmulqdq_final
#define CRC32            crc32_vpclmulqdq

#include "crc32_pclmulqdq_tpl.h"

#endif