From 5611333c298c7c6823dca26e6b26a4276006c1c8 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 8 Feb 2016 09:16:52 +0100 Subject: [PATCH] PCSX2: remove reporting of mmx/3dnow --- common/include/x86emitter/tools.h | 4 ---- common/src/x86emitter/cpudetect.cpp | 4 ---- pcsx2/System.cpp | 3 --- 3 files changed, 11 deletions(-) diff --git a/common/include/x86emitter/tools.h b/common/include/x86emitter/tools.h index 53fa79ddcd..84f9c31a05 100644 --- a/common/include/x86emitter/tools.h +++ b/common/include/x86emitter/tools.h @@ -73,7 +73,6 @@ public: u32 hasCFLUSHInstruction :1; u32 hasDebugStore :1; u32 hasACPIThermalMonitorAndClockControl :1; - u32 hasMultimediaExtensions :1; u32 hasFastStreamingSIMDExtensionsSaveRestore :1; u32 hasStreamingSIMDExtensions :1; u32 hasStreamingSIMD2Extensions :1; @@ -95,10 +94,7 @@ public: u32 hasFMA :1; // AMD-specific CPU Features - u32 hasMultimediaExtensionsExt :1; u32 hasAMD64BitArchitecture :1; - u32 has3DNOWInstructionExtensionsExt :1; - u32 has3DNOWInstructionExtensions :1; u32 hasStreamingSIMD4ExtensionsA :1; // Core Counts! diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp index 2658e9dab9..b8d89a6f0f 100644 --- a/common/src/x86emitter/cpudetect.cpp +++ b/common/src/x86emitter/cpudetect.cpp @@ -250,7 +250,6 @@ void x86capabilities::Identify() hasCFLUSHInstruction = ( Flags >> 19 ) & 1; hasDebugStore = ( Flags >> 21 ) & 1; hasACPIThermalMonitorAndClockControl = ( Flags >> 22 ) & 1; - hasMultimediaExtensions = ( Flags >> 23 ) & 1; //mmx hasFastStreamingSIMDExtensionsSaveRestore = ( Flags >> 24 ) & 1; hasStreamingSIMDExtensions = ( Flags >> 25 ) & 1; //sse hasStreamingSIMD2Extensions = ( Flags >> 26 ) & 1; //sse2 @@ -282,10 +281,7 @@ void x86capabilities::Identify() hasBMI2 = ( SEFlag >> 8 ) & 1; // Ones only for AMDs: - hasMultimediaExtensionsExt = ( EFlags >> 22 ) & 1; //mmx2 hasAMD64BitArchitecture = ( EFlags >> 29 ) & 1; //64bit cpu - has3DNOWInstructionExtensionsExt = ( EFlags >> 30 ) & 1; //3dnow+ - has3DNOWInstructionExtensions = ( EFlags >> 31 ) & 1; //3dnow hasStreamingSIMD4ExtensionsA = ( EFlags2 >> 6 ) & 1; //INSERTQ / EXTRQ / MOVNT isIdentified = true; diff --git a/pcsx2/System.cpp b/pcsx2/System.cpp index fff21a7e4a..62fc32d8d2 100644 --- a/pcsx2/System.cpp +++ b/pcsx2/System.cpp @@ -274,9 +274,6 @@ void SysLogMachineCaps() if( x86caps.hasAVX2 ) features[0].Add( L"AVX2" ); if( x86caps.hasFMA) features[0].Add( L"FMA" ); - if( x86caps.hasMultimediaExtensionsExt ) features[1].Add( L"MMX2 " ); - if( x86caps.has3DNOWInstructionExtensions ) features[1].Add( L"3DNOW " ); - if( x86caps.has3DNOWInstructionExtensionsExt ) features[1].Add( L"3DNOW2" ); if( x86caps.hasStreamingSIMD4ExtensionsA ) features[1].Add( L"SSE4a " ); const wxString result[2] =