optimisation: add stubs for unsafe maths
This commit is contained in:
parent
712fcdf455
commit
6af34bc023
@ -82,9 +82,13 @@ endif ()
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
else()
|
else()
|
||||||
append_compile_flag(-ftree-vectorize)
|
# unsafe maths
|
||||||
|
# append_compile_flag(-funsafe-math-optimizations)
|
||||||
|
# append_compile_flag(-ffast-math)
|
||||||
|
# append_compile_flag(-fno-finite-math-only)
|
||||||
|
|
||||||
# clang vectorisation
|
# vectorisation
|
||||||
|
append_compile_flag(-ftree-vectorize)
|
||||||
append_compile_flag(-fvectorize)
|
append_compile_flag(-fvectorize)
|
||||||
append_compile_flag(-fslp-vectorize)
|
append_compile_flag(-fslp-vectorize)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user