mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.7.10
This commit is contained in:
@@ -3468,9 +3468,10 @@ sph_ ## name ## _close(void *cc, void *dst) \
|
||||
for (i = 0; i < 8; i ++) \
|
||||
sph_enc64le((unsigned char *)dst + 8 * i, sc->state[i]); \
|
||||
}
|
||||
// sph_ ## name ## _init(cc); \
|
||||
//}
|
||||
|
||||
/*
|
||||
sph_ ## name ## _init(cc); \
|
||||
}
|
||||
*/
|
||||
MAKE_CLOSE(whirlpool)
|
||||
MAKE_CLOSE(whirlpool0)
|
||||
MAKE_CLOSE(whirlpool1)
|
||||
|
||||
@@ -22,6 +22,7 @@ void whirlpool_hash( void *state, const void *input );
|
||||
|
||||
int scanhash_whirlpool( int thr_id, struct work *work, uint32_t max_nonce,
|
||||
uint64_t *hashes_done );
|
||||
void init_whirlpool_ctx();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -3345,8 +3345,10 @@ do { \
|
||||
#define READ_STATE MUL8(READ_STATE_W)
|
||||
#define ROUND0 MUL8(ROUND0_W)
|
||||
#define UPDATE_STATE MUL8(UPDATE_STATE_W)
|
||||
//#define BYTE(x, n) \
|
||||
// _mm256_and_si256( _mm256_srli_epi64( x, n<<3 ), _mm256_set1_epi64x( 0xFF ) )
|
||||
/*
|
||||
#define BYTE(x, n) \
|
||||
_mm256_and_si256( _mm256_srli_epi64( x, n<<3 ), _mm256_set1_epi64x( 0xFF ) )
|
||||
*/
|
||||
#define BYTE(x, n) ((unsigned)((x) >> (8 * (n))) & 0xFF)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user