summaryrefslogtreecommitdiff
path: root/lsh256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lsh256.cpp')
-rw-r--r--lsh256.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lsh256.cpp b/lsh256.cpp
index f4550e78..a8788729 100644
--- a/lsh256.cpp
+++ b/lsh256.cpp
@@ -10,8 +10,9 @@
#include "lsh.h"
#include "misc.h"
+// Only enable the intrinsics for 64-bit machines
#ifndef CRYPTOPP_DISABLE_ASM
-# if defined(__SSE2__) || defined(_M_X64)
+# if defined(__SSE2__) && (defined(__amd64__) || defined(_M_X64))
# define CRYPTOPP_LSH256_ASM_AVAILABLE 1
# endif
#endif