aboutsummaryrefslogtreecommitdiff
path: root/sha256_4way.c
AgeCommit message (Collapse)Author
2011-03-20Ensure cpuminer-config.h is universally included, in *.c and *.h alike.Jeff Garzik
In miner.h, this fixes an alloca-definition-related warning. For the other files, this is simply future-proofing/precaution.
2011-03-17Introduce ability to interrupt hash scanners in the middle of scanning.Jeff Garzik
2011-03-02sha256_4way: skip last 3 rounds.Jeff Garzik
Pointed out by several people, including Raulo.
2011-02-21Changes to make the 4-way code compile on Intel CompilerRaulo
2011-02-17Mark hash success as unlikely, using __builtin_expect() intrinsicJeff Garzik
2011-02-03Continue scanhash, even if high 32 bits are zero.Jeff Garzik
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.
2011-02-02Display proof-of-work hash when one is discoveredJeff Garzik
2011-01-29Pass max-nonce as arg to each sha256 algo.Jeff Garzik
Should be an equivalent transformation, with no behavior changes.
2011-01-29sha256_4way minor optimizationsJeff Garzik
http://www.bitcoin.org/smf/index.php?topic=820.msg40022#msg40022 Credit: BeeCee1
2010-12-18sha256_4way: work around gcc 4.5.x bug by always inlining ROTR and SHRJeff Garzik
2010-12-06sha256_4way: do not include unnecessary headers, when !4wayJeff Garzik
Reported by lfm
2010-11-27Move sha256_generic into its own .o build output. Const-ify midstate param.Jeff Garzik
2010-11-27sha256_4way: patch proper nonce into data blockJeff Garzik
2010-11-27Improve and modularize compile-time CPU detection.Jeff Garzik
Ideally, we should move this to autoconf.
2010-11-27s/__SSE__/__SSE2__/Jeff Garzik
2010-11-26sha256_4way: perform 16m hashes, not 64k, per invocationJeff Garzik
2010-11-26Improve hash performance statistics.Jeff Garzik
2010-11-26Add tcatm's 4way SSE2 sha256 implementation.Jeff Garzik