diff --git a/src/crypto/randomx/jit_compiler_x86.cpp b/src/crypto/randomx/jit_compiler_x86.cpp index 5f7a83a14..0e79d6a40 100644 --- a/src/crypto/randomx/jit_compiler_x86.cpp +++ b/src/crypto/randomx/jit_compiler_x86.cpp @@ -244,7 +244,9 @@ namespace randomx { switch (arch) { case xmrig::ICpuInfo::ARCH_ZEN: case xmrig::ICpuInfo::ARCH_ZEN_PLUS: + default: // AVX2 init is slower on Zen/Zen+ + // Also disable it for other unknown architectures initDatasetAVX2 = false; break; case xmrig::ICpuInfo::ARCH_ZEN2: