optimisation: enable SSE3 and AVX by default

This commit is contained in:
Danny Robson 2020-11-03 16:01:20 +10:00
parent 209adacf5a
commit 39d0ee8173

View File

@ -83,9 +83,9 @@ if (${host_cpu} STREQUAL "x86_64")
append_compile_flag(-msse) append_compile_flag(-msse)
append_compile_flag(-msse2) append_compile_flag(-msse2)
append_compile_flag(-mssse3) 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) append_compile_flag(-mno-avx2)
# These instructions should always be available on reasonable platforms. # These instructions should always be available on reasonable platforms.