mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +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 crc32c_ppc
 | 
						|
#define CRC_TABLE
 | 
						|
#define POWER8_INTRINSICS
 | 
						|
#include "pcc_crc32c_constants.h"
 | 
						|
#include "crc_ppc64.h"
 |