Code: Select all
-Ofast
Disregard strict standards compliance. ‘-Ofast’ enables all ‘-O3’ optimizations.
It also enables optimizations that are not valid for all standard compliant pro-
grams. It turns on ‘-ffast-math’.
Code: Select all
-ffast-math
Sets ‘-fno-math-errno’, ‘-funsafe-math-optimizations’, ‘-ffinite-math-only’,
‘-fno-rounding-math’, ‘-fno-signaling-nans’ and ‘-fcx-limited-range’.
This option causes the preprocessor macro __FAST_MATH__ to be defined.
-Ofast -fstrict-aliasing -fomit-frame-pointer -fno-exceptions -ffp-contract=fast \
-fkeep-static-consts -fmodulo-sched -fmodulo-sched-allow-regmoves -fgcse-las \
-fgcse-after-reload -fdce -fdse -fira-loop-pressure -fschedule-insns2 \
-fsched-pressure -fsched-spec-load -fsched2-use-superblocks \
-fipa-pta -fbranch-probabilities -fwhole-program -flto \
-fprofile-generate