diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-08-04 23:42:11 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-08-04 23:42:11 +0000 |
commit | 2b729488b9a3944a384bdaa13fecc34b3ba6de92 (patch) | |
tree | 0801b243f9a552ec3c55a7fa9d2877426f7b82c7 /cpu.h | |
parent | 2b1577950ce6e9cfd3bdd1007260d0dd90ca2003 (diff) | |
download | cryptopp-2b729488b9a3944a384bdaa13fecc34b3ba6de92.tar.gz |
fix compile with Intel C++ Compiler 11.1
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@515 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'cpu.h')
-rwxr-xr-x | cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ #endif #if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE -#if !defined(__GNUC__) || defined(__SSSE3__) +#if !defined(__GNUC__) || defined(__SSSE3__) || defined(__INTEL_COMPILER) #include <tmmintrin.h> #else __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) @@ -27,7 +27,7 @@ _mm_shuffle_epi8 (__m128i a, __m128i b) return a; } #endif -#if !defined(__GNUC__) || defined(__SSE4_1__) +#if !defined(__GNUC__) || defined(__SSE4_1__) || defined(__INTEL_COMPILER) #include <smmintrin.h> #else __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) @@ -44,7 +44,7 @@ _mm_insert_epi32 (__m128i a, int b, const int i) return a; } #endif -#if !defined(__GNUC__) || (defined(__AES__) && defined(__PCLMUL__)) +#if !defined(__GNUC__) || (defined(__AES__) && defined(__PCLMUL__)) || defined(__INTEL_COMPILER) #include <wmmintrin.h> #else __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |