summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-05-16 13:35:15 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-06-20 06:31:37 +0200
commit9bb5bf0b2bf62207c117f05aa76d0540b6e106fd (patch)
tree122895aa91b4378ab56cb7813e557a04e2c694c5 /src
parentcommon/telemetry: Add AVX512 to telemetry (diff)
downloadyuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar.gz
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar.bz2
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar.lz
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar.xz
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.tar.zst
yuzu-9bb5bf0b2bf62207c117f05aa76d0540b6e106fd.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp15
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()
LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", yuzu_build_version, Common::g_scm_branch,
Common::g_scm_desc);
#ifdef ARCHITECTURE_x86_64
- LOG_INFO(Frontend, "Host CPU: {}", Common::GetCPUCaps().cpu_string);
+ const auto& caps = Common::GetCPUCaps();
+ std::string cpu_string = caps.cpu_string;
+ if (caps.avx || caps.avx2 || caps.avx512) {
+ cpu_string += " | AVX";
+ if (caps.avx512) {
+ cpu_string += "512";
+ } else if (caps.avx2) {
+ cpu_string += '2';
+ }
+ if (caps.fma || caps.fma4) {
+ cpu_string += " | FMA";
+ }
+ }
+ LOG_INFO(Frontend, "Host CPU: {}", cpu_string);
#endif
LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString());
LOG_INFO(Frontend, "Host RAM: {:.2f} GB",