Jeff Garzik
2d49a9a5d7
Introduce ability to interrupt hash scanners in the middle of scanning.
14 years ago
Jeff Garzik
ef91bd59e2
sha256_4way: skip last 3 rounds.
...
Pointed out by several people, including Raulo.
14 years ago
Raulo
a27e69aec5
Changes to make the 4-way code compile on Intel Compiler
14 years ago
Jeff Garzik
1083e15c47
Mark hash success as unlikely, using __builtin_expect() intrinsic
14 years ago
Jeff Garzik
714c0fd7c9
Continue scanhash, even if high 32 bits are zero.
...
Previously, we would stop the scan if the high 32 bits of the hash were zero,
as a quick shortcut for testing the full hash. If this quick test succeeded,
we would pass the work to the server for full validation.
Change this logic to perform full validation inside minerd, so that work may
be resumed more quickly if hash > target.
14 years ago
Jeff Garzik
c68ffb30dd
Display proof-of-work hash when one is discovered
14 years ago
Jeff Garzik
0b67740707
Pass max-nonce as arg to each sha256 algo.
...
Should be an equivalent transformation, with no behavior changes.
14 years ago
Jeff Garzik
8504cf4803
sha256_4way minor optimizations
...
http://www.bitcoin.org/smf/index.php?topic=820.msg40022#msg40022
Credit: BeeCee1
14 years ago
Jeff Garzik
0ee24c00ce
sha256_4way: work around gcc 4.5.x bug by always inlining ROTR and SHR
14 years ago
Jeff Garzik
8ca6ffa8a9
sha256_4way: do not include unnecessary headers, when !4way
...
Reported by lfm
14 years ago
Jeff Garzik
339ddf4d75
Move sha256_generic into its own .o build output. Const-ify midstate param.
14 years ago
Jeff Garzik
6288d943ab
sha256_4way: patch proper nonce into data block
14 years ago
Jeff Garzik
86eb37d631
Improve and modularize compile-time CPU detection.
...
Ideally, we should move this to autoconf.
14 years ago
Jeff Garzik
500759cea1
s/__SSE__/__SSE2__/
14 years ago
Jeff Garzik
eed9b3c7df
sha256_4way: perform 16m hashes, not 64k, per invocation
14 years ago
Jeff Garzik
35ea649d97
Improve hash performance statistics.
14 years ago
Jeff Garzik
c639149977
Add tcatm's 4way SSE2 sha256 implementation.
14 years ago