This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Optimisation options turned on at a certain level
- From: jgrant at reflectionsinteractive dot com
- To: ian at wasabisystems dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 22 Dec 2003 09:59:14 -0000
- Subject: RE: Optimisation options turned on at a certain level
Hello Ian,
Thank you for the link. Very useful.
I was hoping for a list of the options as well as the text describing the
different levels.
Could this be added the documentation? so its clear exactly what is being
done by which options are being passed. Perhaps something like:
Optimisation level -O1
-fomit-frame-pointer When possible do not
generate stack frames
-fdefer-pop Defer popping functions args
from stack until later
-fthread-jumps Perform jump threading
optimisations
-fdelayed-branch Attempt to fill delay slots
of branch instructions
Optimisation level -O3
-funroll-loops
etc
(I these may not be accurate, just for illustration)
What do you think?
Kind regards
Jonathan