optimisation: add stubs for unsafe maths

This commit is contained in:
Danny Robson 2018-01-30 16:26:42 +11:00
parent 712fcdf455
commit 6af34bc023

View File

@ -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)