diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-03-07 00:23:12 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-03-07 00:23:12 -0500 |
commit | 6b19b15aa97d8bfba7c5feb52d857a1b51b1e6d4 (patch) | |
tree | 96493dbd9e4475069b1269dc75b3056d27cd3ed9 | |
parent | 96d2287c722e4566fd30271c76869f83831e86c2 (diff) |
Fix warnings in sse2_64 implementation.
-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 */ |