原始文献 / 论坛帖 / Re: Auto-detect for 128-bit 4-way SSE2
Re: Auto-detect for 128-bit 4-way SSE2
Bitcointalk · 2010-09-10 18:11:06 UTC
AuthorSatoshi Nakamoto
TitleRe: Auto-detect for 128-bit 4-way SSE2
Date2010-09-10 18:11:06 UTC
ForumBitcointalk · 原文
引用自 teknohog,发表于 September 09, 2010, 07:32:05 PM(https://bitcointalk.org/index.php?topic=1007.msg12336#msg12336)
因为 CallCPUID 函数包含 x86 汇编,它在其他架构上破坏构建。我把 main.cpp 第 2770 行改成了
#if defined(__GNUC__) && defined(CRYPTOPP_X86_ASM_AVAILABLE)
至少在 ARM 上又能编译了。
已加入 SVN rev 152。
英文原文
Quote from: teknohog on September 09, 2010, 07:32:05 PM(https://bitcointalk.org/index.php?topic=1007.msg12336#msg12336)
Since the function CallCPUID function contains x86 assembler, it breaks the build on other architectures. I've changed line 2770 in main.cpp to
#if defined(__GNUC__) && defined(CRYPTOPP_X86_ASM_AVAILABLE)
to make it compile again, at least on ARM.
Added in SVN rev 152
