Enable BLAKE2_SSE4_Compress32 and BLAKE2_SSE4_Compress64 for VS2008

pull/157/head
Jeffrey Walton 2016-04-19 10:42:26 -04:00
parent 6d8332b76b
commit acd43c212f
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ NAMESPACE_BEGIN(CryptoPP)
# undef CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE # undef CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
#endif #endif
// Visual Studio needs both VS2008 (1500) and _M_64 for SSE4 // Visual Studio needs VS2008 (1500); no dependency on _mm_set_epi64x()
// http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx // http://msdn.microsoft.com/en-us/library/bb892950%28v=vs.90%29.aspx
#if defined(_MSC_VER) && ((_MSC_VER < 1500) || !defined(_M_X64)) #if defined(_MSC_VER) && (_MSC_VER < 1500)
# undef CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE # undef CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE
#endif #endif