From 826e23b4c4ba72ddd06c6476e1d9c1050402def9 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 26 May 2023 12:46:59 +0200 Subject: [PATCH] Fixed `jccErratum` list --- src/backend/cpu/platform/BasicCpuInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/cpu/platform/BasicCpuInfo.cpp b/src/backend/cpu/platform/BasicCpuInfo.cpp index 0680d1bf8..3ddce3e7e 100644 --- a/src/backend/cpu/platform/BasicCpuInfo.cpp +++ b/src/backend/cpu/platform/BasicCpuInfo.cpp @@ -296,7 +296,7 @@ xmrig::BasicCpuInfo::BasicCpuInfo() : // Affected CPU models and stepping numbers are taken from https://www.intel.com/content/dam/support/us/en/documents/processors/mitigations-jump-conditional-code-erratum.pdf m_jccErratum = ((model == 0x4E) && (stepping == 0x3)) || - ((model == 0x55) && (stepping == 0x4)) || + ((model == 0x55) && ((stepping == 0x4) || (stepping == 0x7))) || ((model == 0x5E) && (stepping == 0x3)) || ((model == 0x8E) && (stepping >= 0x9) && (stepping <= 0xC)) || ((model == 0x9E) && (stepping >= 0x9) && (stepping <= 0xD)) ||