From 50304cfb1c5825f72183d5260f617505b678a808 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Tue, 25 Mar 2025 09:40:01 +1000 Subject: [PATCH] Intel x86_64, gcc, icc: align loops to 64 byte boundary Improved security with compile flag. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fc042932e..dd6142534 100644 --- a/configure.ac +++ b/configure.ac @@ -180,7 +180,7 @@ if test "$host_cpu" = "x86_64" then if test "$CC" = "gcc" || test "$CC" = "icc" then - EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries" + EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries -falign-loops=64" fi fi OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS $EXTRA_OPTS_CFLAGS"