mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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.
This commit is contained in:
@@ -100,9 +100,6 @@ my_bool my_init(void)
|
||||
/* Initialize our mutex handling */
|
||||
my_mutex_init();
|
||||
|
||||
/* Initialize CPU architecture specific hardware based crc32 optimization */
|
||||
my_checksum_init();
|
||||
|
||||
if (my_thread_global_init())
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user