Fix minor speed regression on some microarchitectures
This commit is contained in:
parent
e751fb6bbd
commit
1628975469
1 changed files with 2 additions and 1 deletions
3
scrypt.c
3
scrypt.c
|
@ -497,7 +497,8 @@ static void scrypt_1024_1_1_256_sp_3way(const uint32_t *input1, const uint32_t *
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int test_hash(const uint32_t *hash, const uint32_t *target)
|
__attribute__ ((noinline)) static int test_hash(const uint32_t *hash,
|
||||||
|
const uint32_t *target)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 7; i >= 0; i--) {
|
for (i = 7; i >= 0; i--) {
|
||||||
|
|
Loading…
Reference in a new issue