Commit def34d3a authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Merge branch 'compiler-optimizations' into 'master'

Add -funroll-loops as a standard GCC optimization

SWIFT is faster with this.

Fixes #244.

See merge request !283
parents 907b0ce7 d5ebecb3
......@@ -160,6 +160,9 @@ if test "$ac_test_CFLAGS" != "set"; then
# note that we enable "unsafe" fp optimization with other compilers, too
AX_CHECK_COMPILE_FLAG(-ffast-math, CFLAGS="$CFLAGS -ffast-math")
# not all codes will benefit from this.
AX_CHECK_COMPILE_FLAG(-funroll-loops, CFLAGS="$CFLAGS -funroll-loops")
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