|
|
@ -292,10 +292,12 @@ static inline uint32_t LE_LOAD32(const uint8_t *p) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __SSE4_2__ |
|
|
|
#ifdef __SSE4_2__ |
|
|
|
|
|
|
|
#ifdef __LP64__ |
|
|
|
static inline uint64_t LE_LOAD64(const uint8_t *p) { |
|
|
|
static inline uint64_t LE_LOAD64(const uint8_t *p) { |
|
|
|
return DecodeFixed64(reinterpret_cast<const char*>(p)); |
|
|
|
return DecodeFixed64(reinterpret_cast<const char*>(p)); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) { |
|
|
|
static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) { |
|
|
|
uint32_t c = static_cast<uint32_t>(*l ^ LE_LOAD32(*p)); |
|
|
|
uint32_t c = static_cast<uint32_t>(*l ^ LE_LOAD32(*p)); |
|
|
|