This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]