X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=a379d5444956ef63537e4035eb27f1847faf70ca;hp=161117f8536e433511824544c0ff8fbe8f653d7a;hb=7614501362896ddee902c1257f1b56ad148bc4d3;hpb=83d8d542166d77f5417d334d2e6138ace0820ae4 diff --git a/src/types.h b/src/types.h index 161117f8..a379d544 100644 --- a/src/types.h +++ b/src/types.h @@ -86,6 +86,11 @@ typedef uint64_t Bitboard; #define USE_BSFQ #endif +// Intel header for _mm_popcnt_u64() intrinsic +#if defined(USE_POPCNT) && defined(_MSC_VER) && defined(__INTEL_COMPILER) +#include +#endif + // Cache line alignment specification #if defined(_MSC_VER) || defined(__INTEL_COMPILER) #define CACHE_LINE_ALIGNMENT __declspec(align(64))