• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
gcc and optimizing (Common Subexpressions)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: gcc and optimizing (Common Subexpressions)
      • From: Steve Checkoway <email@hidden>
  • Prev by Date: Re: Universal Binaries
  • Next by Date: Orange breakpoint
  • Previous by thread: Changing search option to API search on command-option-?
  • Next by thread: Re: gcc and optimizing (Common Subexpressions)
  • Index(es):
    • Date
    • Thread