optimisation: try to enable sse3
Effectively all hardware we target includes sse3 instructions at this point.
This commit is contained in:
parent
efaf99ff60
commit
43d5fb4523
@ -66,8 +66,7 @@ canonical_host()
|
|||||||
##-----------------------------------------------------------------------------
|
##-----------------------------------------------------------------------------
|
||||||
if (${host_cpu} STREQUAL "x86_64")
|
if (${host_cpu} STREQUAL "x86_64")
|
||||||
append_compile_flag(-mtune=generic)
|
append_compile_flag(-mtune=generic)
|
||||||
append_compile_flag(-msse)
|
append_compile_flag(-msse3)
|
||||||
append_compile_flag(-msse2)
|
|
||||||
append_compile_flag(-msahf)
|
append_compile_flag(-msahf)
|
||||||
elseif (${host_cpu} STREQUAL "i686")
|
elseif (${host_cpu} STREQUAL "i686")
|
||||||
append_compile_flag(-march=prescott)
|
append_compile_flag(-march=prescott)
|
||||||
|
Loading…
Reference in New Issue
Block a user