Always dump CPU info and assert our dummy thread value is legit.

This commit is contained in:
Ben Vanik
2013-10-18 18:56:59 -07:00
parent d3665cc2e6
commit 28e7102a02
2 changed files with 6 additions and 10 deletions

View File

@@ -106,15 +106,10 @@ int X64JIT::CheckProcessor() {
// TODO(benvanik): ensure features we want are supported.
// TODO(benvanik): check for SSE modes we use.
if (!(mask & kX86FeatureSse3)) {
XELOGE("CPU does not support SSE3+ instructions!");
DumpCPUInfo();
return 1;
}
DumpCPUInfo();
if (!(mask & kX86FeatureSse41)) {
XELOGW("CPU does not support SSE4.1+ instructions, performance degraded!");
DumpCPUInfo();
XELOGW("CPU does not support SSE4.1+ instructions!");
return 1;
}
return 0;