Add Intel's Rocket Lake 11th gen cpu. (#10205)

This does nothing but may be required later.
This commit is contained in:
Paul 2021-05-13 05:34:37 -03:00 committed by GitHub
parent f0ad20a250
commit 4e12e70929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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;
}