Bitcointalk · New demonstration CPU miner available

中本聪,2010 年 11 月 26 日

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

阅读语言
中文译文

你理应试试把 tcatm 的 4 路 SSE2 SHA 放进 sha256.cpp。它作为 C 文件编译没问题,只需把 sha256.cpp 改名为 sha256.c。我在 Windows 上简单测试时让它跑通了,然而与 Bitcoin 链接时不行。作为 C 程序的一部分而不是 C++,成功的机会恐更大。

目前它仅仅在 Linux 构建中启用,因而倘若你让它跑通了,能够让 Windows 用户亦用上。在 AMD CPU 上约莫提速 100%。

ORIGINAL · 英文原文
You should try it with tcatm's 4-way SSE2 SHA in sha256.cpp.  It compiles fine as a C file, just rename sha256.cpp to sha256.c.  I was able to get it to work in simple tests on Windows, but not when linked in with Bitcoin.  It may have a better chance of working as part of a C program instead of C++.

Currently it's only enabled in the Linux build, so if you get it to work you could make it available to Windows users.  It's about 100% speedup on AMD CPUs.
上下文
← 上一条 SN-3660 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-3660