mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
LLVM: handle icelake-client and icelake-server CPU names
Correct AVX / AVX-512 disabling logic
This commit is contained in:
parent
fb64b28886
commit
ebb24375d1
@ -625,7 +625,9 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
||||
m_cpu == "skylake" ||
|
||||
m_cpu == "skylake-avx512" ||
|
||||
m_cpu == "cannonlake" ||
|
||||
m_cpu == "icelake")
|
||||
m_cpu == "icelake" ||
|
||||
m_cpu == "icelake-client" ||
|
||||
m_cpu == "icelake-server")
|
||||
{
|
||||
// Downgrade if AVX is not supported by some chips
|
||||
if (!utils::has_avx())
|
||||
@ -636,7 +638,9 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
||||
|
||||
if (m_cpu == "skylake-avx512" ||
|
||||
m_cpu == "cannonlake" ||
|
||||
m_cpu == "icelake")
|
||||
m_cpu == "icelake" ||
|
||||
m_cpu == "icelake-client" ||
|
||||
m_cpu == "icelake-server")
|
||||
{
|
||||
// Downgrade if AVX-512 is disabled or not supported
|
||||
if (!utils::has_512())
|
||||
|
Loading…
Reference in New Issue
Block a user