diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-10-04 01:40:50 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-10-04 01:40:50 +0000 |
commit | dc8adc3b48bb2201f2bd796a5ffa0733c30aa6e1 (patch) | |
tree | 8c3fac58eb232f3c0f890877cb5bbb39440a4e42 /main.cpp | |
parent | 178152f604aed37df703336344ff334e6d0fd244 (diff) |
Russian translation by eurekafag
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@160 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2831,6 +2831,10 @@ bool Detect128BitSSE2() bool fUseSSE2 = ((fIntel && nFamily * 10000 + nModel >= 60026) || (fAMD && nFamily * 10000 + nModel >= 160010)); + // AMD reports a lower model number in 64-bit mode + if (fAMD && sizeof(void*) > 4 && nFamily * 10000 + nModel >= 160000) + fUseSSE2 = true; + static bool fPrinted; if (!fPrinted) { |