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

Add -funroll-loops as a standard GCC optimization

SWIFT is faster with this
parent 907b0ce7
......@@ -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")
AX_GCC_ARCHFLAG($acx_maxopt_portable)
;;
......
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