mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 11:45:30 +00:00
Add Intel's Rocket Lake 11th gen cpu. (#10205)
This does nothing but may be required later.
This commit is contained in:
parent
f0ad20a250
commit
4e12e70929
2 changed files with 8 additions and 4 deletions
|
@ -687,7 +687,8 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
|||
m_cpu == "icelake" ||
|
||||
m_cpu == "icelake-client" ||
|
||||
m_cpu == "icelake-server" ||
|
||||
m_cpu == "tigerlake")
|
||||
m_cpu == "tigerlake" ||
|
||||
m_cpu == "rocketlake")
|
||||
{
|
||||
// Downgrade if AVX is not supported by some chips
|
||||
if (!utils::has_avx())
|
||||
|
@ -703,7 +704,8 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
|||
m_cpu == "icelake" ||
|
||||
m_cpu == "icelake-client" ||
|
||||
m_cpu == "icelake-server" ||
|
||||
m_cpu == "tigerlake")
|
||||
m_cpu == "tigerlake" ||
|
||||
m_cpu == "rocketlake")
|
||||
{
|
||||
// Downgrade if AVX-512 is disabled or not supported
|
||||
if (!utils::has_avx512())
|
||||
|
|
|
@ -56,7 +56,8 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
|
|||
cpu == "icelake" ||
|
||||
cpu == "icelake-client" ||
|
||||
cpu == "icelake-server" ||
|
||||
cpu == "tigerlake")
|
||||
cpu == "tigerlake" ||
|
||||
cpu == "rocketlake")
|
||||
{
|
||||
m_use_fma = true;
|
||||
m_use_avx512 = true;
|
||||
|
@ -66,7 +67,8 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
|
|||
if (cpu == "icelake" ||
|
||||
cpu == "icelake-client" ||
|
||||
cpu == "icelake-server" ||
|
||||
cpu == "tigerlake")
|
||||
cpu == "tigerlake" ||
|
||||
cpu == "rocketlake")
|
||||
{
|
||||
m_use_avx512_icl = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue