From b725c1e8e0b4ae77bd8d47781cb1fc7e6ab5d2bc Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sat, 7 Jan 2023 13:07:52 +0000 Subject: [PATCH] System: Remove unused extensions PCSX2 does not even boot on SSE2 or SSE3 systems and we do not use SSE4a so we should remove it SSE4.1 / 4.2 is a requirement so no use being here either. --- pcsx2/System.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pcsx2/System.cpp b/pcsx2/System.cpp index 7113b00977..2595899586 100644 --- a/pcsx2/System.cpp +++ b/pcsx2/System.cpp @@ -203,16 +203,8 @@ void SysLogMachineCaps() std::string features; - if( x86caps.hasStreamingSIMD2Extensions ) features += "SSE2 "; - if( x86caps.hasStreamingSIMD3Extensions ) features += "SSE3 "; - if( x86caps.hasSupplementalStreamingSIMD3Extensions ) features += "SSSE3 "; - if( x86caps.hasStreamingSIMD4Extensions ) features += "SSE4.1 "; - if( x86caps.hasStreamingSIMD4Extensions2 ) features += "SSE4.2 "; - if( x86caps.hasAVX ) features += "AVX "; - if( x86caps.hasAVX2 ) features += "AVX2 "; - if( x86caps.hasFMA) features += "FMA "; - - if( x86caps.hasStreamingSIMD4ExtensionsA ) features += "SSE4a "; + if( x86caps.hasAVX) features += "AVX "; + if( x86caps.hasAVX2) features += "AVX2 "; StringUtil::StripWhitespace(&features);