Просмотр исходного кода

* BugFix: Remove the last remnant of 3DNow! Extensions.

Robert MacGregor 3 лет назад
Родитель
Сommit
4a92ecf9e5
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      Engine/source/platformWin32/winCPUInfo.cpp

+ 0 - 5
Engine/source/platformWin32/winCPUInfo.cpp

@@ -82,9 +82,6 @@ static void detectCpuFeatures(Platform::SystemInfo_struct::Processor &processor)
    U32 edx = cpuInfo[3];  // edx
    U32 ecx = cpuInfo[2]; // ecx
 
-   if (processor.type == ProcessorType::CPU_AMD)
-      processor.properties |= (edx & BIT_3DNOW) ? CPU_PROP_3DNOW : 0;
-
    processor.properties |= (edx & BIT_MMX) ? CPU_PROP_MMX : 0;
    processor.properties |= (edx & BIT_SSE) ? CPU_PROP_SSE : 0;
    processor.properties |= (edx & BIT_SSE2) ? CPU_PROP_SSE2 : 0;
@@ -165,8 +162,6 @@ void Processor::init()
    Con::printf("   Processor: %s", Platform::SystemInfo.processor.name);
    if (Platform::SystemInfo.processor.properties & CPU_PROP_MMX)
       Con::printf("      MMX detected" );
-   if (Platform::SystemInfo.processor.properties & CPU_PROP_3DNOW)
-      Con::printf("      3DNow detected" );
    if (Platform::SystemInfo.processor.properties & CPU_PROP_SSE)
       Con::printf("      SSE detected" );
    if (Platform::SystemInfo.processor.properties & CPU_PROP_SSE2)