From 4d418d1bb51752feb2d3684ac7e45c781f1e4076 Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sat, 7 Jan 2023 13:06:55 +0000 Subject: [PATCH] Emitter: Remove old unused code Irrelevant and outdated code that is no longer needed. --- common/emitter/cpudetect.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/common/emitter/cpudetect.cpp b/common/emitter/cpudetect.cpp index 430686860f..1ac753de77 100644 --- a/common/emitter/cpudetect.cpp +++ b/common/emitter/cpudetect.cpp @@ -176,17 +176,6 @@ void x86capabilities::CountCores() cpuid(regs, 0x80000000); cmds = regs[0]; - // detect multicore for AMD cpu - - if ((cmds >= 0x80000008) && (VendorID == x86Vendor_AMD)) - { - // AMD note: they don't support hyperthreading, but they like to flag this true - // anyway. Let's force-unflag it until we come up with a better solution. - // (note: seems to affect some Phenom II's only? -- Athlon X2's and PhenomI's do - // not seem to do this) --air - hasMultiThreading = 0; - } - // This will assign values into LogicalCores and PhysicalCores CountLogicalCores(); }