From 43d5fb45237475e6356a233c7b5064c19bcd8ac7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 22 Mar 2018 15:08:36 +1100 Subject: [PATCH] optimisation: try to enable sse3 Effectively all hardware we target includes sse3 instructions at this point. --- nc_optimisation.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nc_optimisation.cmake b/nc_optimisation.cmake index 19cf8ad..b319aa6 100644 --- a/nc_optimisation.cmake +++ b/nc_optimisation.cmake @@ -66,8 +66,7 @@ canonical_host() ##----------------------------------------------------------------------------- if (${host_cpu} STREQUAL "x86_64") append_compile_flag(-mtune=generic) - append_compile_flag(-msse) - append_compile_flag(-msse2) + append_compile_flag(-msse3) append_compile_flag(-msahf) elseif (${host_cpu} STREQUAL "i686") append_compile_flag(-march=prescott)