summaryrefslogtreecommitdiff
path: root/simon128_simd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon128_simd.cpp')
-rw-r--r--simon128_simd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/simon128_simd.cpp b/simon128_simd.cpp
index 5a0aaddf..4503dd90 100644
--- a/simon128_simd.cpp
+++ b/simon128_simd.cpp
@@ -23,11 +23,11 @@
#endif
#if defined(__XOP__)
-# include <ammintrin.h>
-# if defined(__GNUC__)
+# if defined(CRYPTOPP_GCC_COMPATIBLE)
# include <x86intrin.h>
# endif
-#endif
+# include <ammintrin.h>
+#endif // XOP
#if (CRYPTOPP_ARM_NEON_HEADER)
# include "adv_simd.h"