mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
CPUDetect: Indicate slow PDEP/PEXT only for Zen1/+/2 (Family 23)
This commit is contained in:
@ -118,9 +118,9 @@ void CPUInfo::Detect()
|
||||
(model == 0x1C || model == 0x26 || model == 0x27 || model == 0x35 || model == 0x36 ||
|
||||
model == 0x37 || model == 0x4A || model == 0x4D || model == 0x5A || model == 0x5D))
|
||||
bAtom = true;
|
||||
// Detect AMD Zen (all models)
|
||||
// Detect AMD Zen1, Zen1+ and Zen2
|
||||
if (family == 23)
|
||||
bZen = true;
|
||||
bZen1p2 = true;
|
||||
logical_cpu_count = (cpu_id[1] >> 16) & 0xFF;
|
||||
ht = (cpu_id[3] >> 28) & 1;
|
||||
|
||||
@ -175,7 +175,7 @@ void CPUInfo::Detect()
|
||||
}
|
||||
|
||||
bFlushToZero = bSSE;
|
||||
bFastBMI2 = bBMI2 && !bZen;
|
||||
bFastBMI2 = bBMI2 && !bZen1p2;
|
||||
|
||||
if (max_ex_fn >= 0x80000004)
|
||||
{
|
||||
|
Reference in New Issue
Block a user