fix GCC warnings

This commit is contained in:
oltolm 2024-03-18 17:33:20 +01:00 committed by Megamouse
parent 75b2dfa66d
commit c567c92d4b
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
cpu == "tigerlake" ||
cpu == "rocketlake" ||
cpu == "sapphirerapids" ||
(cpu.startswith("znver") && cpu != "znver1" && cpu != "znver2" && cpu != "znver3"))
(cpu.starts_with("znver") && cpu != "znver1" && cpu != "znver2" && cpu != "znver3"))
{
m_use_avx = true;
m_use_fma = true;