Commit graph

12 commits

Author SHA1 Message Date
Jeff Garzik
970e74c07d Move 32-bit swap code into miner.h, for sharing. 2010-12-26 23:37:58 -05:00
Jeff Garzik
d88648dd39 sha256_via: ensure that found nonce is copied back into output data buffer
Also, some minor cleanups, removing unused args.
2010-12-23 20:21:00 -05:00
Jeff Garzik
f1fcd76ba7 sha256_cryptopp: Add crypto++ 32-bit assembly implementation 2010-12-06 20:14:58 -05:00
Jeff Garzik
74bb196296 Add Crypto++ sha256 implementation (C only, ASM elided for now) 2010-11-28 20:16:22 -05:00
Jeff Garzik
339ddf4d75 Move sha256_generic into its own .o build output. Const-ify midstate param. 2010-11-27 04:31:32 -05:00
Jeff Garzik
4da2e4fbe2 miner.h: include sys/time.h for struct timeval definition 2010-11-27 01:59:03 -05:00
Jeff Garzik
e2eeaaf75b Add experimental (read: probably broken) VIA padlock support. 2010-11-27 01:29:56 -05:00
Jeff Garzik
86eb37d631 Improve and modularize compile-time CPU detection.
Ideally, we should move this to autoconf.
2010-11-27 00:46:59 -05:00
Jeff Garzik
35ea649d97 Improve hash performance statistics. 2010-11-26 23:12:24 -05:00
Jeff Garzik
c639149977 Add tcatm's 4way SSE2 sha256 implementation. 2010-11-26 19:04:48 -05:00
Jeff Garzik
b7cc9b68ad Replace argp with getopt_long 2010-11-26 15:46:11 -05:00
Jeff Garzik
945be82ea1 Move utility routines to util.c. 2010-11-25 04:03:59 -05:00