optimisation: enable SSE3 and AVX by default
This commit is contained in:
parent
209adacf5a
commit
39d0ee8173
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user