From 05b2888464a76ade7a04d8953cee076567c353f4 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Wed, 11 Oct 2023 05:21:56 -0500 Subject: [PATCH] re-add linux mtune --- other/AVX2/build/config/compiler/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/other/AVX2/build/config/compiler/BUILD.gn b/other/AVX2/build/config/compiler/BUILD.gn index 93b399d7..7f3003b4 100644 --- a/other/AVX2/build/config/compiler/BUILD.gn +++ b/other/AVX2/build/config/compiler/BUILD.gn @@ -1117,6 +1117,7 @@ config("compiler_cpu_abi") { "-m64", "-O3", "-march=x86-64-v3", + "-mtune=x86-64-v3", "-ffp-contract=fast", ] ldflags += [ "-m64", "-Wl,-O3", "-Wl,-mllvm,-march=x86-64-v3", "-Wl,-mllvm,-fp-contract=fast", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2", ]