Convert CPU caps into a global instead of MT safe global

This commit is contained in:
lizzie 2026-05-23 21:08:24 +00:00
parent 34dd8c8ebd
commit b88cff494d
9 changed files with 31 additions and 35 deletions

View file

@ -3119,7 +3119,7 @@ void MainWindow::OnMenuReportCompatibility() {
tr("Compatibility list reporting is currently disabled. Check back later!"));
// #if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__)
// const auto& caps = Common::GetCPUCaps();
// const auto& caps = g_cpu_caps;
// const bool has_fma = caps.fma;
// const auto processor_count = std::thread::hardware_concurrency();
// const bool has_4threads = processor_count == 0 || processor_count >= 4;