原始文献 / 论坛帖 / Re: Bitcoin x86 for Windows

Re: Bitcoin x86 for Windows

Bitcointalk · 2010-07-27 01:29:42 UTC

AuthorSatoshi Nakamoto
TitleRe: Bitcoin x86 for Windows
Date2010-07-27 01:29:42 UTC
ForumBitcointalk · 原文

【引用 Olipro 于 2010年7月26日 13:04:41(https://bitcointalk.org/index.php?topic=572.msg5851#msg5851)】

"Crypto++ 5.6.0:http://www.cryptopp.com/
缓存版 SHA256:http://pastebin.com/rJAYZJ32(虽然我确信这份代码在别处也公开提交过,是在 IRC 上有人发给我的)"
我已把缓存 SHA256 状态的想法加入 SVN,rev 113。提速约 70%。根据你在 x64 帖子中的说法,我把功劳记给了 tcatm。

我可以用 MinGW 编译 Crypto++ 5.6.0 的 ASM SHA 代码,但一运行就崩溃。它说是给 MASM(微软汇编器)用的,他们给的示例命令行看起来像是 Visual C++ 的。它是不是只能在 MSVC 和 Intel 编译器下工作?

英文原文

【引用 Olipro on July 26, 2010, 01:04:41 PM(https://bitcointalk.org/index.php?topic=572.msg5851#msg5851)】

"Crypto++ 5.6.0: http://www.cryptopp.com/
Cached SHA256: http://pastebin.com/rJAYZJ32 (although I'm pretty sure this is publically submitted elsewhere, I was linked to it on IRC)
"
I added the cached SHA256 state idea to the SVN, rev 113. The speedup is about 70%. I credited it to tcatm based on your post in the x64 thread.

I can compile the Crypto++ 5.6.0 ASM SHA code with MinGW but as soon as it runs it crashes. It says its for MASM (Microsoft's assembler) and the sample command line they give looks like Visual C++. Does it only work with the MSVC and Intel compilers?