Enable BLAKE2_SSE4_Compress32 and BLAKE2_SSE4_Compress64 for VS2008
parent
6d8332b76b
commit
acd43c212f
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue