changeset 235:3baca0ce4dac draft

disable SSE2 on 32-bit
author Satoshi Nakamoto <satoshin@gmx.com>
date Thu, 12 Aug 2010 13:26:20 +0000
parents 99f46c62ba59
children df45df86d5c1
files cryptopp/config.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cryptopp/config.h
+++ b/cryptopp/config.h
@@ -1,6 +1,13 @@
 #ifndef CRYPTOPP_CONFIG_H
 #define CRYPTOPP_CONFIG_H
 
+//// Bitcoin: disable SSE2 on 32-bit
+#if !defined(_M_X64) && !defined(__x86_64__)
+#define CRYPTOPP_DISABLE_SSE2  1
+#endif
+//////////// end of Bitcoin changes
+
+
 // ***************** Important Settings ********************
 
 // define this if running on a big-endian CPU