diff options
-rw-r--r-- | miner.h | 4 | ||||
-rw-r--r-- | sha256_sse2_amd64.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -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); diff --git a/sha256_sse2_amd64.c b/sha256_sse2_amd64.c index 87c6993..df0be12 100644 --- a/sha256_sse2_amd64.c +++ b/sha256_sse2_amd64.c @@ -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 */ |