Commit 50617c42 authored by Daniel Black's avatar Daniel Black

MDEV-11075: allow software crc32c on Power8 (for BE)

parent 410bf82b
...@@ -445,7 +445,6 @@ void ...@@ -445,7 +445,6 @@ void
ut_crc32_slice8_table_init() ut_crc32_slice8_table_init()
/*========================*/ /*========================*/
{ {
#ifndef HAVE_CRC32_VPMSUM
/* bit-reversed poly 0x1EDC6F41 (from SSE42 crc32 instruction) */ /* bit-reversed poly 0x1EDC6F41 (from SSE42 crc32 instruction) */
static const uint32_t poly = 0x82f63b78; static const uint32_t poly = 0x82f63b78;
uint32_t n; uint32_t n;
...@@ -469,7 +468,6 @@ ut_crc32_slice8_table_init() ...@@ -469,7 +468,6 @@ ut_crc32_slice8_table_init()
} }
ut_crc32_slice8_table_initialized = true; ut_crc32_slice8_table_initialized = true;
#endif
} }
/** Calculate CRC32 over 8-bit data using a software implementation. /** Calculate CRC32 over 8-bit data using a software implementation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment