View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#1029
Originally Posted by Estel View Post
Also what are supposed benefits of parameter mentioned by you (-O3 -ffast-math -ftree-vectorize)? Maybe increased CPU usage is worth it, if we gain something else?

Sorry, no idea about those compiling parameters here, so question may be silly

/Estel
Those are optimization parameters. O3 is very aggresive, and requires user-engaging-brain before using (you may want to search for info on pointer aliasing). fast-math will make some floating point operations faster, at the cost of losing strict IEEE floating point compliance (no biggie for most purposes, but again, user needs to know what he's doing). tree-vectorize will attempt to use parallelizing instructions (sse2, neon, etc.)
 

The Following 5 Users Say Thank You to reinob For This Useful Post: