From 4010f4bc1f558ee8dd22f4e1bbf039e28f46b563 Mon Sep 17 00:00:00 2001 From: RedBlackAka <140876408+RedBlackAka@users.noreply.github.com> Date: Fri, 20 Feb 2026 21:34:03 +0100 Subject: [PATCH] common/cpu_detect: Remove SSE/SSE2 detection (#1754) --- src/common/x64/cpu_detect.cpp | 4 ---- src/common/x64/cpu_detect.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp index 08290eb7f..b58c4f0c8 100644 --- a/src/common/x64/cpu_detect.cpp +++ b/src/common/x64/cpu_detect.cpp @@ -80,10 +80,6 @@ static CPUCaps Detect() { if (max_std_fn >= 1) { __cpuid(cpu_id, 0x00000001); - if ((cpu_id[3] >> 25) & 1) - caps.sse = true; - if ((cpu_id[3] >> 26) & 1) - caps.sse2 = true; if ((cpu_id[2]) & 1) caps.sse3 = true; if ((cpu_id[2] >> 9) & 1) diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h index 7018ec0c1..6d09da549 100644 --- a/src/common/x64/cpu_detect.h +++ b/src/common/x64/cpu_detect.h @@ -16,8 +16,6 @@ namespace Common { struct CPUCaps { char cpu_string[0x21]; char brand_string[0x41]; - bool sse; - bool sse2; bool sse3; bool ssse3; bool sse4_1;