Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!283Add -funroll-loops as a standard GCC optimization
......@@ -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)
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment