Bitcointalk · Bitcoin x86 for Windows

中本聪,2010 年 7 月 27 日

SN-1660 已核对来源,附原文与上下文。

阅读语言
中文译文

Crypto++ 5.6.0:http://www.cryptopp.com/ Cached 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 编译器下用?

ORIGINAL · 英文原文
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?
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-1660