diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-12-28 14:08:54 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-12-28 14:08:54 -0500 |
commit | 662db8fc872d65a1c409ba32fb8c4cfa28e3960e (patch) | |
tree | 31c6cb636e4dfd7b61017cd8eeb4051991e126b9 /sm4_simd.cpp | |
parent | d2cf296d2aab20b7dc6faf802ca7583a01224dd8 (diff) | |
download | cryptopp-git-662db8fc872d65a1c409ba32fb8c4cfa28e3960e.tar.gz |
Cleanup adv_simd.h include for arch flags
Diffstat (limited to 'sm4_simd.cpp')
-rw-r--r-- | sm4_simd.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sm4_simd.cpp b/sm4_simd.cpp index f0d39ae2..64a10b09 100644 --- a/sm4_simd.cpp +++ b/sm4_simd.cpp @@ -15,18 +15,13 @@ #include "sm4.h"
#include "misc.h"
-#include "adv_simd.h"
// Uncomment for benchmarking C++ against SSE.
// Do so in both simon.cpp and simon-simd.cpp.
// #undef CRYPTOPP_AESNI_AVAILABLE
-#if (CRYPTOPP_SSE2_INTRIN_AVAILABLE)
-# include <xmmintrin.h>
-# include <emmintrin.h>
-#endif
-
#if (CRYPTOPP_AESNI_AVAILABLE)
+# include "adv_simd.h"
# include <tmmintrin.h>
# include <wmmintrin.h>
#endif
|