Skip to content

回复:Windows 版比特币 x86 ​

原始发布页

打开来源页面
查看 1 个交叉存档

引用 Olipro 于 2010 年 7 月 26 日 01:04:41 PM 的发言

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 编译器工作?

英文原文 ​

展开英文原文

Quote from: Olipro on July 26, 2010, 01:04:41 PM

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?

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。