ARL wasn't using FMA/VNNI/GFNI

This commit is contained in:
Yahfz
2025-07-19 18:38:31 -03:00
committed by Elad
parent 620997c193
commit 8b9c9f677a
+6 -3
View File
@@ -135,7 +135,8 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "bdver4" ||
cpu == "znver1" ||
cpu == "znver2" ||
cpu == "znver3")
cpu == "znver3" ||
cpu == "arrowlake")
{
m_use_fma = true;
m_use_avx = true;
@@ -157,7 +158,8 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "cooperlake" ||
cpu == "alderlake" ||
cpu == "raptorlake" ||
cpu == "meteorlake")
cpu == "meteorlake" ||
cpu == "arrowlake")
{
m_use_vnni = true;
}
@@ -167,7 +169,8 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "gracemont" ||
cpu == "alderlake" ||
cpu == "raptorlake" ||
cpu == "meteorlake")
cpu == "meteorlake" ||
cpu == "arrowlake")
{
m_use_gfni = true;
}