Fix 4-way and 12-way scrypt
This commit is contained in:
parent
80c762b0da
commit
ca34d624f6
2 changed files with 2 additions and 2 deletions
|
@ -498,7 +498,7 @@ static void *miner_thread(void *userdata)
|
|||
int thr_id = mythr->id;
|
||||
struct work work;
|
||||
uint32_t max_nonce;
|
||||
uint32_t end_nonce = 0xffffffffU / opt_n_threads * (thr_id + 1) - 4;
|
||||
uint32_t end_nonce = 0xffffffffU / opt_n_threads * (thr_id + 1) - 0x10;
|
||||
unsigned char *scratchbuf = NULL;
|
||||
|
||||
/* Set worker threads to nice 19 and then preferentially to SCHED_IDLE
|
||||
|
|
|
@ -115,7 +115,7 @@ sha256d_4preext2_30:
|
|||
.globl _sha256_init_4way
|
||||
sha256_init_4way:
|
||||
_sha256_init_4way:
|
||||
movl 8(%esp), %edx
|
||||
movl 4(%esp), %edx
|
||||
movdqa sha256_4h+0, %xmm0
|
||||
movdqa sha256_4h+16, %xmm1
|
||||
movdqa sha256_4h+32, %xmm2
|
||||
|
|
Loading…
Reference in a new issue