Add support for arrowlake-s and lunarlake CPUs

This commit is contained in:
Yahfz
2025-07-19 20:49:47 -03:00
committed by Elad
parent 8b9c9f677a
commit 7fe3afbbc2
+9 -3
View File
@@ -136,7 +136,9 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "znver1" || cpu == "znver1" ||
cpu == "znver2" || cpu == "znver2" ||
cpu == "znver3" || cpu == "znver3" ||
cpu == "arrowlake") cpu == "arrowlake" ||
cpu == "arrowlake-s" ||
cpu == "lunarlake")
{ {
m_use_fma = true; m_use_fma = true;
m_use_avx = true; m_use_avx = true;
@@ -159,7 +161,9 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "alderlake" || cpu == "alderlake" ||
cpu == "raptorlake" || cpu == "raptorlake" ||
cpu == "meteorlake" || cpu == "meteorlake" ||
cpu == "arrowlake") cpu == "arrowlake" ||
cpu == "arrowlake-s" ||
cpu == "lunarlake")
{ {
m_use_vnni = true; m_use_vnni = true;
} }
@@ -170,7 +174,9 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "alderlake" || cpu == "alderlake" ||
cpu == "raptorlake" || cpu == "raptorlake" ||
cpu == "meteorlake" || cpu == "meteorlake" ||
cpu == "arrowlake") cpu == "arrowlake" ||
cpu == "arrowlake-s" ||
cpu == "lunarlake")
{ {
m_use_gfni = true; m_use_gfni = true;
} }