Fix compilation in MSVC (x86).

This commit is contained in:
2021-10-12 23:26:48 +01:00
parent 09f91a4116
commit 6c10f3e58d
8 changed files with 9 additions and 10 deletions

View File

@@ -237,8 +237,7 @@ static void partial_fold(const size_t len,
*/
#define XOR_INITIAL(where) ONCE(where = _mm_xor_si128(where, xmm_initial))
CLMUL
uint32_t crc32_clmul(const uint8_t* src, long len, uint32_t initial_crc)
AARU_EXPORT CLMUL uint32_t AARU_CALL crc32_clmul(const uint8_t* src, long len, uint32_t initial_crc)
{
unsigned long algn_diff;
__m128i xmm_t0, xmm_t1, xmm_t2, xmm_t3;