Skip to content

Commit

Permalink
fix(server): add check for SSSE3 instructions
Browse files Browse the repository at this point in the history
This should give a less painful error for the issue described in #2091.
  • Loading branch information
blattersturm committed Jul 11, 2023
1 parent 8e3986d commit b168948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/server/launcher/src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

2 comments on commit b168948

@RealStonerGamer

This comment was marked as spam.

@RealStonerGamer

This comment was marked as spam.

Please sign in to comment.