gcc and optimizing (Common Subexpressions)
gcc and optimizing (Common Subexpressions)
- Subject: gcc and optimizing (Common Subexpressions)
- From: Tommy Nordgren <email@hidden>
- Date: Fri, 8 Jun 2007 22:41:23 +0200
I have found out by testing, that with the flag -O3,
gcc is able to reduce multiple calls of an arithmetic function to a
single call,
if each instance have the same parameters.
Are there any flags I can set to make this available with the -Os
option instead of -O3?
Also, so far I've only tested with calls of sin and cos. Are there
anything special that I need to
do to make this facility available with application-defined functions
as well (in particular GSL)
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden