mirror of
https://github.com/MariaDB/server.git
synced 2025-02-22 13:23:07 +01:00

Add CRC32C code to mysys. The x86-64 implementation uses PCMULQDQ in addition to CRC32 instruction after Intel whitepaper, and is ported from rocksdb code. Optimized ARM and POWER CRC32 were already present in mysys.
5 lines
135 B
C
5 lines
135 B
C
#define CRC32_FUNCTION my_checksum
|
|
#define CRC_TABLE
|
|
#define POWER8_INTRINSICS
|
|
#include "pcc_crc32_constants.h"
|
|
#include "crc_ppc64.h"
|