1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
zefir
713e8be629 move CPU chipset specific optimization into device-cpu 2012-02-11 20:25:41 +01:00
ckolivas
9eb3ac426b Merge branch 'device_refactor' of https://github.com/luke-jr/cgminer into fpga 2012-01-18 09:42:57 +11:00
Luke Dashjr
b9d197dee8 Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
- Before, some returned bool, and others returned int (which was then turned
  into a bool with a comparison); now, everything returns a bool
- Before, some set hashes_done to nonce - 1 when a share was found and others
  set it to nonce + 1 or 2. This caused some algorithms to scan/submit shares
  twice with the new cpu_scanhash function. Now, it has all been replaced with
  last_nonce, which is set to the final nonce checked by the scanhash_* func.
- VIA needs the full data, and cannot use midstate. All the others were
  expecting midstate and data+64 for their parameters. Now, we pass midstate
  and the full data pointer, and let the scanhash_* function choose which to
  use.
2012-01-17 17:32:07 -05:00
ckolivas
d356f44d53 Micro-optimisation in sha256_sse2 code courtesy of Guido Ascioti guido.ascioti@gmail.com 2012-01-11 11:12:13 +11:00
Con Kolivas
7dc3db2340 Implement SSE2 32 bit assembly algorithm as well. 2011-08-25 13:04:15 +10:00