From 6a60dc313f6c4bfd45ee789b5edceb1926cc1544 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 18 Jul 2024 09:37:55 +1000 Subject: [PATCH] optimisation: enable avx2 by default --- nc_optimisation.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nc_optimisation.cmake b/nc_optimisation.cmake index d65ffe7..aecd8ba 100644 --- a/nc_optimisation.cmake +++ b/nc_optimisation.cmake @@ -95,8 +95,7 @@ if (${host_cpu} STREQUAL "x86_64") append_compile_flag(-mssse3) append_compile_flag(-msse3) append_compile_flag(-mavx) - - append_compile_flag(-mno-avx2) + append_compile_flag(-mavx2) # These instructions should always be available on reasonable platforms. # They're almost 20 years old at this point.