From 2a66b40267db6ebcea0cd36a7111abcf85af876f Mon Sep 17 00:00:00 2001 From: RedBlackAka Date: Wed, 20 May 2026 19:11:09 +0200 Subject: [common/cpu_detect] Remove SSE/SSE2/FMA4/AVX_VNNI detection (#3979) Removes Eden's own feature detection for SSE, SSE2, FMA4 and AVX_VNNI, in order to clean up code and make the function slightly lighter. They are all unused and I have specific reasons for their removal: - SSE/SSE2 are always true for x64 - FMA4 is a deprecated AMD exclusive extension, replaced by the regular FMA and was logged here as "FMA" for no reason - AVX_VNNI simply does not seem applicable for Eden (but can still be checked for through Xbyak's feature detection if necessary) Co-authored-by: RedBlackAka <140876408+RedBlackAka@users.noreply.github.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3979 Reviewed-by: Lizzie Reviewed-by: crueter Reviewed-by: MaranBr --- src/yuzu/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu/main_window.cpp') diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index 3ca4b40a6d..4d5a3c43f9 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -3120,7 +3120,7 @@ void MainWindow::OnMenuReportCompatibility() { // #if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__) // const auto& caps = Common::GetCPUCaps(); - // const bool has_fma = caps.fma || caps.fma4; + // const bool has_fma = caps.fma; // const auto processor_count = std::thread::hardware_concurrency(); // const bool has_4threads = processor_count == 0 || processor_count >= 4; // const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8_GiB; -- cgit v1.2.3