From 39d0ee817344f97901746662f54414ab5b77debb Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 3 Nov 2020 16:01:20 +1000 Subject: [PATCH] optimisation: enable SSE3 and AVX by default --- nc_optimisation.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nc_optimisation.cmake b/nc_optimisation.cmake index 6f042b6..ade173d 100644 --- a/nc_optimisation.cmake +++ b/nc_optimisation.cmake @@ -83,9 +83,9 @@ if (${host_cpu} STREQUAL "x86_64") append_compile_flag(-msse) append_compile_flag(-msse2) append_compile_flag(-mssse3) + append_compile_flag(-msse3) + append_compile_flag(-mavx) - append_compile_flag(-mno-sse3) - append_compile_flag(-mno-avx) append_compile_flag(-mno-avx2) # These instructions should always be available on reasonable platforms.