From b1689489bb35dde84149392a3ffe41a06dd677d3 Mon Sep 17 00:00:00 2001 From: blattersturm Date: Tue, 11 Jul 2023 21:25:35 +0200 Subject: [PATCH] fix(server): add check for SSSE3 instructions This should give a less painful error for the issue described in #2091. --- code/server/launcher/src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/server/launcher/src/Main.cpp b/code/server/launcher/src/Main.cpp index 038624ae1e..e47f09f1cf 100644 --- a/code/server/launcher/src/Main.cpp +++ b/code/server/launcher/src/Main.cpp @@ -32,7 +32,7 @@ int main(int argc, char* argv[]) #ifdef CPU_FEATURES_ARCH_X86 auto x86info = cpu_features::GetX86Info(); - if (!x86info.features.popcnt) + if (!x86info.features.popcnt || !x86info.features.ssse3) { std::string errorMessage = fmt::sprintf( "The Cfx.re Platform Server requires support for x86-64-v2 instructions (such as POPCNT).\n"