Commit 95ef2ec0 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

add a flag for loop unrolling, defaults to whatever has been set for --enble-optimization.

parent db88daf8
...@@ -278,6 +278,18 @@ if test "$enable_san" = "yes"; then ...@@ -278,6 +278,18 @@ if test "$enable_san" = "yes"; then
fi fi
fi fi
# Add loop unrolling to the compiler flags, if requested.
[Tell the compiler explicitly to unroll loops @<:@no/yes@:>@]
if test "$enable_loop_unrolling" = "yes"; then
CFLAGS="$CFLAGS -funroll-loops"
# Autoconf stuff. # Autoconf stuff.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment