From 1ea34b31a1c51ee91727cfa15e9d91ca60b51e8a Mon Sep 17 00:00:00 2001 From: XMRig Date: Tue, 19 Feb 2019 11:26:19 +0700 Subject: [PATCH] #932 Fixed "cn-pico/trtl" performance. --- src/workers/CpuThread.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/workers/CpuThread.cpp b/src/workers/CpuThread.cpp index 40e61f5a4..6065bc3aa 100644 --- a/src/workers/CpuThread.cpp +++ b/src/workers/CpuThread.cpp @@ -176,7 +176,9 @@ xmrig::CpuThread::cn_hash_fun xmrig::CpuThread::fn(Algo algorithm, AlgoVariant a add_asm_func(asm_func_map); add_asm_func(asm_func_map); - add_asm_func(asm_func_map); +# ifndef XMRIG_NO_CN_PICO + add_asm_func(asm_func_map); +# endif asm_func_map_initialized = true; }