Skip to content

Commit 50304cf

Browse files
committed
Intel x86_64, gcc, icc: align loops to 64 byte boundary
Improved security with compile flag.
1 parent 295ba3b commit 50304cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ if test "$host_cpu" = "x86_64"
180180
then
181181
if test "$CC" = "gcc" || test "$CC" = "icc"
182182
then
183-
EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries"
183+
EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries -falign-loops=64"
184184
fi
185185
fi
186186
OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS $EXTRA_OPTS_CFLAGS"

0 commit comments

Comments
 (0)