aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-21 14:44:26 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-21 14:44:26 +0200
commitf9b1c4f962152f50fbfb96013dfae3c161acd3cd (patch)
treeec5dead1a460791a9efe679555a7dcafa5afd6ba
parentMerge pull request #5211 (diff)
parentslow-hash: default to JIT on x86_64 (diff)
downloadmonero-f9b1c4f962152f50fbfb96013dfae3c161acd3cd.tar.xz
Merge pull request #5213
efb2bdd3 slow-hash: default to JIT on x86_64 (moneromooo-monero)
-rw-r--r--src/crypto/slow-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c
index 9dc6f5038..449cd7a38 100644
--- a/src/crypto/slow-hash.c
+++ b/src/crypto/slow-hash.c
@@ -76,7 +76,7 @@ static inline int use_v4_jit(void)
const char *env = getenv("MONERO_USE_CNV4_JIT");
if (!env) {
- use_v4_jit_flag = 0;
+ use_v4_jit_flag = 1;
}
else if (!strcmp(env, "0") || !strcmp(env, "no")) {
use_v4_jit_flag = 0;