This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
These are the optimization flags I used for fortran (basically carried over from g77):Depending on your CPU model and application, -funroll-loops may have become excessively aggressive. For Core i7, I limit unrolling to 4, as well as avoiding flags whose effect I'm not sure of.
-O3 -fno-strict-aliasing -Winline -fexpensive-optimizations -finline-functions -finline-limit=100000 -fstrength-reduce -fgcse -fgcse-lm -fgcse-sm -funroll-loops -fforce-addr -fomit-frame-pointer -malign-double
Are there any I should NOT be using? Did I omit any important one?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |