diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-07-02 19:10:11 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-07-02 19:10:11 -0400 |
commit | eeb7dadc76572b7061922ca6ac5f247bdfd985ad (patch) | |
tree | 05f55f88e9902bbe77e604e0c4f9200919cf1ab3 /keccak_simd.cpp | |
parent | fbbf0a08e8cf4faca661b0f75f806ea652abea70 (diff) | |
download | cryptopp-git-eeb7dadc76572b7061922ca6ac5f247bdfd985ad.tar.gz |
Fix missing _mm_roti_epi32 and _mm_roti_epi64 under GCC (GH #859)
Diffstat (limited to 'keccak_simd.cpp')
-rw-r--r-- | keccak_simd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keccak_simd.cpp b/keccak_simd.cpp index ae2f2095..194291a0 100644 --- a/keccak_simd.cpp +++ b/keccak_simd.cpp @@ -27,8 +27,10 @@ #endif
#if defined(__XOP__)
-# include <immintrin.h>
# include <ammintrin.h>
+# if defined(__GNUC__)
+# include <x86intrin.h>
+# endif
#endif
// Squash MS LNK4221 and libtool warnings
|