diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-10 23:43:37 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-10 23:43:37 +0000 |
commit | 0cff7a8aa706d0e8ded5a58e1035f3db8f711c45 (patch) | |
tree | 63f76d4f405390eb28ceaa9709df7814dff73aac | |
parent | fb83d28768e62eb46f83d15afaf67bdfb4675d9d (diff) |
disable SSE2 on 32-bit
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@128 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r-- | cryptopp/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptopp/config.h b/cryptopp/config.h index c192d35773..146a731f11 100644 --- 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
|