From dbece4d00fc8b6d815f33e596f0bd81bf35e4937 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 13 Dec 2019 02:11:21 +0300 Subject: [PATCH] LLVM: add workaround for cascadelake CPU Need to investigate it later. --- Utilities/JIT.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utilities/JIT.cpp b/Utilities/JIT.cpp index e8ebed49cb..1f7f9c19be 100644 --- a/Utilities/JIT.cpp +++ b/Utilities/JIT.cpp @@ -982,6 +982,10 @@ std::string jit_compiler::cpu(const std::string& _cpu) { m_cpu = "skylake"; } + else + { + m_cpu = "skylake-avx512"; + } } if (m_cpu == "znver1" && utils::has_clwb())