diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 00:47:37 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 00:47:37 -0400 |
| commit | fa0b378173ec7db4a662079a1a5b111beece7206 (patch) | |
| tree | 712302d7e670256c664953a9d8016f25559c0370 /blake2.cpp | |
| parent | 7716f5f689e16b2d284cc0e0556d9b34758cbf25 (diff) | |
| download | cryptopp-git-fa0b378173ec7db4a662079a1a5b111beece7206.tar.gz | |
Add SSE2 guard with CRYPTOPP_BOOL_SSE2_AVAILABLE
Diffstat (limited to 'blake2.cpp')
| -rw-r--r-- | blake2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ NAMESPACE_BEGIN(CryptoPP) // Sun Studio 12.3 and earlier lack SSE2's _mm_set_epi64x.
// Also see http://stackoverflow.com/a/38547909/608639
-#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5130)
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5130) && CRYPTOPP_BOOL_SSE2_AVAILABLE
inline __m128i _mm_set_epi64x(const uint64_t a, const uint64_t b)
{
union INT_128_64x2 {
|
