Add -falign-functions=32 to makefile flags (#745)

Seemingly provides minor performance benefit and should more importantly reduce perf lotto substantially (hopefully)
This commit is contained in:
Gregory Heskett
2024-02-22 00:38:19 -05:00
committed by GitHub
parent fc5ffa7438
commit 524e35c974

View File

@@ -135,7 +135,7 @@ endif
#==============================================================================# #==============================================================================#
# Default non-gcc opt flags # Default non-gcc opt flags
DEFAULT_OPT_FLAGS = -Ofast DEFAULT_OPT_FLAGS = -Ofast -falign-functions=32
# Note: -fno-associative-math is used here to suppress warnings, ideally we would enable this as an optimization but # Note: -fno-associative-math is used here to suppress warnings, ideally we would enable this as an optimization but
# this conflicts with -ftrapping-math apparently. # this conflicts with -ftrapping-math apparently.
# TODO: Figure out how to allow -fassociative-math to be enabled # TODO: Figure out how to allow -fassociative-math to be enabled