[v1.03][x86] Fix Zen4 peak performance calculation

This commit is contained in:
Dr-Noob
2023-04-24 17:47:29 +02:00
parent 5be6f8bba0
commit de638aba50
2 changed files with 7 additions and 4 deletions

View File

@@ -414,7 +414,9 @@ struct uarch* get_uarch_from_cpuid(struct cpuInfo* cpu, uint32_t dump, uint32_t
}
bool vpus_are_AVX512(struct cpuInfo* cpu) {
return cpu->arch->uarch != UARCH_ICE_LAKE && cpu->arch->uarch != UARCH_TIGER_LAKE;
return cpu->arch->uarch != UARCH_ICE_LAKE &&
cpu->arch->uarch != UARCH_TIGER_LAKE &&
cpu->arch->uarch != UARCH_ZEN4;
}
bool is_knights_landing(struct cpuInfo* cpu) {