Fix warnings in sse2_64 implementation.
This commit is contained in:
parent
96d2287c72
commit
6b19b15aa9
2 changed files with 4 additions and 1 deletions
4
miner.h
4
miner.h
|
@ -99,6 +99,10 @@ extern bool scanhash_asm32(const unsigned char *midstate,unsigned char *data,
|
|||
unsigned char *hash1, unsigned char *hash,
|
||||
const unsigned char *target,
|
||||
uint32_t max_nonce, unsigned long *hashes_done);
|
||||
extern int scanhash_sse2_64(const unsigned char *pmidstate, unsigned char *pdata,
|
||||
unsigned char *phash1, unsigned char *phash,
|
||||
const unsigned char *ptarget,
|
||||
uint32_t max_nonce, unsigned long *nHashesDone);
|
||||
|
||||
extern int
|
||||
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);
|
||||
|
|
|
@ -57,7 +57,6 @@ int scanhash_sse2_64(const unsigned char *pmidstate, unsigned char *pdata,
|
|||
uint32_t m_midstate[8], m_w[16], m_w1[16];
|
||||
__m128i m_4w[64], m_4hash[64], m_4hash1[64];
|
||||
__m128i offset;
|
||||
__m128i g_4sha256_hinit[8];
|
||||
int i;
|
||||
|
||||
/* For debugging */
|
||||
|
|
Loading…
Reference in a new issue