summaryrefslogtreecommitdiff
path: root/chacha_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-07-02 19:10:11 -0400
committerJeffrey Walton <noloader@gmail.com>2019-07-02 19:10:11 -0400
commiteeb7dadc76572b7061922ca6ac5f247bdfd985ad (patch)
tree05f55f88e9902bbe77e604e0c4f9200919cf1ab3 /chacha_simd.cpp
parentfbbf0a08e8cf4faca661b0f75f806ea652abea70 (diff)
downloadcryptopp-git-eeb7dadc76572b7061922ca6ac5f247bdfd985ad.tar.gz
Fix missing _mm_roti_epi32 and _mm_roti_epi64 under GCC (GH #859)
Diffstat (limited to 'chacha_simd.cpp')
-rw-r--r--chacha_simd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chacha_simd.cpp b/chacha_simd.cpp
index a983ab69..5a63ecee 100644
--- a/chacha_simd.cpp
+++ b/chacha_simd.cpp
@@ -46,6 +46,9 @@
#if defined(__XOP__)
# include <ammintrin.h>
+# if defined(__GNUC__)
+# include <x86intrin.h>
+# endif
#endif
// C1189: error: This header is specific to ARM targets