mariadb/mysys/crc32/crc32_ppc64.c
Vladislav Vaintroub ccbe6bb6fc MDEV-19935 Create unified CRC-32 interface
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.
2020-09-17 16:07:37 +02:00

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"