原始文献 / 论坛帖 / Re: Version 0.3.8.1 update for Linux 64-bit

Re: Version 0.3.8.1 update for Linux 64-bit

Bitcointalk · 2010-08-09 20:55:06 UTC

AuthorSatoshi Nakamoto
TitleRe: Version 0.3.8.1 update for Linux 64-bit
Date2010-08-09 20:55:06 UTC
ForumBitcointalk · 原文

说得好,我觉得如果你没有 SSE2,可以关掉挖矿运行。

要不在 cryptopp/config.h 顶部加上:

#if!defined(_M_X64) &&!defined(__x86_64__)
#define CRYPTOPP_DISABLE_SSE2 1
#endif

这样 32 位构建就会禁用 SSE2。(至少在 GCC 或 MSVC 下)

英文原文

That's a good point, I believe you could run with generation off if you don't have SSE2.

How about add to the top of cryptopp/config.h:

#if !defined(_M_X64) && !defined(__x86_64__)
#define CRYPTOPP_DISABLE_SSE2 1
#endif

that would disable SSE2 for 32-bit builds. (at least with GCC or MSVC)