Topic: Correct optimization?

Hi Jeff,
In the project code generation panel, I can select "extreme" optimization level. when I do, i adds "-fgraphite-identity" to the optflags in the makefile. My understanding is that this doesn't do anything in terms of the generated code. Should the actual option added to the makefile be "-fgraphite" to apply the graphite transformations to the code?
regards, Pete

2

Re: Correct optimization?

Pete,

The fgraphite-identity flag is added when "Aggressive Loop Optimizations" is checked, actually.  It also enables some loop parallelization flags, which are improved by the graphite analysis, which should identify dead code in loops and places where parallelization is possible.  I believe we are using the flag correctly here.

Jeff Armstrong
Approximatrix, LLC