File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -447,12 +447,12 @@ static bool ut_crc32_slice8_table_initialized = false;
447
447
/* *******************************************************************/ /* *
448
448
Initializes the table that is used to generate the CRC32 if the CPU does
449
449
not have support for it. */
450
- #ifndef HAVE_CRC32_VPMSUM
451
450
static
452
451
void
453
452
ut_crc32_slice8_table_init ()
454
453
/* ========================*/
455
454
{
455
+ #ifndef HAVE_CRC32_VPMSUM
456
456
/* bit-reversed poly 0x1EDC6F41 (from SSE42 crc32 instruction) */
457
457
static const uint32_t poly = 0x82f63b78 ;
458
458
uint32_t n;
@@ -476,8 +476,8 @@ ut_crc32_slice8_table_init()
476
476
}
477
477
478
478
ut_crc32_slice8_table_initialized = true ;
479
- }
480
479
#endif
480
+ }
481
481
482
482
/* * Calculate CRC32 over 8-bit data using a software implementation.
483
483
@param[in,out] crc crc32 checksum so far when this function is called,
You can’t perform that action at this time.
0 commit comments