sha256_4way.c


Log

Author Commit Date CI Message
Jeff Garzik 1083e15c 2011-02-17T01:22:55 Mark hash success as unlikely, using __builtin_expect() intrinsic
Jeff Garzik 714c0fd7 2011-02-03T00:46:55 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.
Jeff Garzik c68ffb30 2011-02-02T18:47:04 Display proof-of-work hash when one is discovered
Jeff Garzik 0b677407 2011-01-29T00:56:24 Pass max-nonce as arg to each sha256 algo. Should be an equivalent transformation, with no behavior changes.
Jeff Garzik 8504cf48 2011-01-29T00:36:32 sha256_4way minor optimizations http://www.bitcoin.org/smf/index.php?topic=820.msg40022#msg40022 Credit: BeeCee1
Jeff Garzik 0ee24c00 2010-12-18T16:29:07 sha256_4way: work around gcc 4.5.x bug by always inlining ROTR and SHR
Jeff Garzik 8ca6ffa8 2010-12-06T00:59:59 sha256_4way: do not include unnecessary headers, when !4way Reported by lfm
Jeff Garzik 339ddf4d 2010-11-27T04:31:32 Move sha256_generic into its own .o build output. Const-ify midstate param.
Jeff Garzik 6288d943 2010-11-27T03:50:12 sha256_4way: patch proper nonce into data block
Jeff Garzik 86eb37d6 2010-11-27T00:46:59 Improve and modularize compile-time CPU detection. Ideally, we should move this to autoconf.
Jeff Garzik 500759ce 2010-11-27T00:12:28 s/__SSE__/__SSE2__/
Jeff Garzik eed9b3c7 2010-11-26T23:15:38 sha256_4way: perform 16m hashes, not 64k, per invocation
Jeff Garzik 35ea649d 2010-11-26T23:12:24 Improve hash performance statistics.
Jeff Garzik c6391499 2010-11-26T19:04:48 Add tcatm's 4way SSE2 sha256 implementation.