mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
arm64: enable fma and "avx" on Apple and Cortex CPUs
This commit is contained in:
parent
c52abed4d3
commit
b02e6e222f
1 changed files with 8 additions and 0 deletions
|
@ -140,6 +140,14 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
|
||||||
m_use_avx512_icl = true;
|
m_use_avx512_icl = true;
|
||||||
m_use_vnni = true;
|
m_use_vnni = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Aarch64 CPUs
|
||||||
|
if (cpu == "cyclone" || cpu.contains("cortex"))
|
||||||
|
{
|
||||||
|
m_use_fma = true;
|
||||||
|
// AVX does not use intrinsics so far
|
||||||
|
m_use_avx = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
llvm::Value* cpu_translator::bitcast(llvm::Value* val, llvm::Type* type) const
|
llvm::Value* cpu_translator::bitcast(llvm::Value* val, llvm::Type* type) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue