Add SSE2 guard with CRYPTOPP_BOOL_SSE2_AVAILABLE

pull/239/head
Jeffrey Walton 2016-07-24 00:47:37 -04:00
parent 7716f5f689
commit fa0b378173
1 changed files with 1 additions and 1 deletions

View File

@ -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 {