1
0
Fork 0

fix even more issues with SSE detection (#2664)

This commit is contained in:
Jan 2017-06-26 16:29:40 +02:00 committed by Frank Celler
parent dd59eee715
commit d281328c22
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ void Fast_CRC32(uint64_t* l, uint8_t const **p) {
#if defined(HAVE_SSE42) && (defined(__LP64__) || defined(_WIN64))
*l = _mm_crc32_u64(*l, LE_LOAD64(*p));
*p += 8;
#else
#elif defined(HAVE_SSE42)
*l = _mm_crc32_u32(static_cast<unsigned int>(*l), LE_LOAD32(*p));
*p += 4;
*l = _mm_crc32_u32(static_cast<unsigned int>(*l), LE_LOAD32(*p));