felixguendling/cista

MSVC and Clang Win32 Support

Closed this issue · 1 comments

When I tried to compile a win32 project I got bit_counting.h(94,35): error C3861: _mm_popcnt_u64: identifier not found
This is because win32 doesn't support mm_popcntu64 only mm_popcntu32

Clang compiler (windows) doesn't support booth _mm_popcnt_u64 and _mm_popcnt_u32.

I suppose this can be replaced with __popcnt which is supported by MSVC and Сlang

This should work now on master with #124. Thank you for your help!