From 524e35c97452b3a5b0eb76fcca02a3d793716bae Mon Sep 17 00:00:00 2001 From: Gregory Heskett Date: Thu, 22 Feb 2024 00:38:19 -0500 Subject: [PATCH] Add `-falign-functions=32` to makefile flags (#745) Seemingly provides minor performance benefit and should more importantly reduce perf lotto substantially (hopefully) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d779159..16db20d8 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ endif #==============================================================================# # 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 # this conflicts with -ftrapping-math apparently. # TODO: Figure out how to allow -fassociative-math to be enabled