From acd43c212f8afefa9dfeff00ef7a644b228eb076 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 19 Apr 2016 10:42:26 -0400 Subject: [PATCH] Enable BLAKE2_SSE4_Compress32 and BLAKE2_SSE4_Compress64 for VS2008 --- blake2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blake2.cpp b/blake2.cpp index 62be06f8..a6e7b9d5 100644 --- a/blake2.cpp +++ b/blake2.cpp @@ -17,9 +17,9 @@ NAMESPACE_BEGIN(CryptoPP) # undef CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE #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 -#if defined(_MSC_VER) && ((_MSC_VER < 1500) || !defined(_M_X64)) +#if defined(_MSC_VER) && (_MSC_VER < 1500) # undef CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE #endif