summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-08-21 06:42:54 -0400
committerJeffrey Walton <noloader@gmail.com>2016-08-21 06:42:54 -0400
commit0c3313c8a2007ecabffc86edfbaef4d312664fff (patch)
tree1a2ce3f78024cd06a20fbfe3e3dfeb3724dae9af /blake2.cpp
parent898d6a3f780e11d7dfc8c2705d17b17ed609dd8a (diff)
downloadcryptopp-git-0c3313c8a2007ecabffc86edfbaef4d312664fff.tar.gz
Fix compile under VS2013 X86
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blake2.cpp b/blake2.cpp
index 3e655b81..6d409e46 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -23,9 +23,9 @@ NAMESPACE_BEGIN(CryptoPP)
# undef CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE
#endif
-// Sun Studio 12.3 and earlier lack SSE2's _mm_set_epi64x.
+// Sun Studio 12.3 and earlier lack SSE2's _mm_set_epi64x. Win32 lacks _mm_set_epi64x (Win64 supplies it except for VS2008).
// Also see http://stackoverflow.com/a/38547909/608639
-#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && ((__SUNPRO_CC >= 0x5100 && __SUNPRO_CC < 0x5130) || (_MSC_VER >= 1200 && _MSC_VER < 1600) || (defined(_M_IX86) && _MSC_VER >= 1600 && _MSC_VER <= 1700))
+#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && ((__SUNPRO_CC >= 0x5100 && __SUNPRO_CC < 0x5130) || (_MSC_VER >= 1200 && _MSC_VER < 1600) || (defined(_M_IX86) && _MSC_VER >= 1600))
inline __m128i _mm_set_epi64x(const word64 a, const word64 b)
{
union INT_128_64x2 {