你应该试试 sha256.cpp 中 tcatm 的 4 路 SSE2 SHA 实现。它作为 C 文件编译没问题,只需把 sha256.cpp 改名为 sha256.c。我在 Windows 上简单测试时让它跑通了,但与 Bitcoin 链接时不行。作为 C 程序的一部分而不是 C++,成功的机会可能更大。
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++.
目前它只在 Linux 构建中启用,因此如果你让它跑通了,能让 Windows 用户也用上。在 AMD CPU 上约莫提速 100%。
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.
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:04a764642807。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。