diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 4119d7907..059b96e70 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -217,7 +217,20 @@ GMainWindow::GMainWindow() | |||
| 217 | LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", yuzu_build_version, Common::g_scm_branch, | 217 | LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", yuzu_build_version, Common::g_scm_branch, |
| 218 | Common::g_scm_desc); | 218 | Common::g_scm_desc); |
| 219 | #ifdef ARCHITECTURE_x86_64 | 219 | #ifdef ARCHITECTURE_x86_64 |
| 220 | LOG_INFO(Frontend, "Host CPU: {}", Common::GetCPUCaps().cpu_string); | 220 | const auto& caps = Common::GetCPUCaps(); |
| 221 | std::string cpu_string = caps.cpu_string; | ||
| 222 | if (caps.avx || caps.avx2 || caps.avx512) { | ||
| 223 | cpu_string += " | AVX"; | ||
| 224 | if (caps.avx512) { | ||
| 225 | cpu_string += "512"; | ||
| 226 | } else if (caps.avx2) { | ||
| 227 | cpu_string += '2'; | ||
| 228 | } | ||
| 229 | if (caps.fma || caps.fma4) { | ||
| 230 | cpu_string += " | FMA"; | ||
| 231 | } | ||
| 232 | } | ||
| 233 | LOG_INFO(Frontend, "Host CPU: {}", cpu_string); | ||
| 221 | #endif | 234 | #endif |
| 222 | LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString()); | 235 | LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString()); |
| 223 | LOG_INFO(Frontend, "Host RAM: {:.2f} GB", | 236 | LOG_INFO(Frontend, "Host RAM: {:.2f} GB", |