optimisation: enable avx2 by default

This commit is contained in:
Danny Robson 2024-07-18 09:37:55 +10:00
parent 084fabb000
commit 6a60dc313f

View File

@ -95,8 +95,7 @@ if (${host_cpu} STREQUAL "x86_64")
append_compile_flag(-mssse3) append_compile_flag(-mssse3)
append_compile_flag(-msse3) append_compile_flag(-msse3)
append_compile_flag(-mavx) append_compile_flag(-mavx)
append_compile_flag(-mavx2)
append_compile_flag(-mno-avx2)
# These instructions should always be available on reasonable platforms. # These instructions should always be available on reasonable platforms.
# They're almost 20 years old at this point. # They're almost 20 years old at this point.