GCC compiler optimization flags (Advanced)
I was wondering if anyone has had any experience in other GCC compiler optimization flags other than the typical -O3. I'm considering a recompile with some architecture specific flags. One option I'm planning on using is '-march=native'. This is supposed to look at your CPU and identify any special vector processors onboard such as SSE or AVX units. I don't believe that you would be able to share binaries with people/machines using different chips however since it becomes more specific than the usual x86 instruction set.
Really just wondering if anyone is familiar with this stuff or has perhaps tried it out. I did a quick timing on an icoFoam run with -O3. I'll let you guys know if I see any speed up from the advanced optimization.
Start reading here: http://www.cfd-online.com/Forums/ope...tml#post356486 post #8 :)
By the way, Intel has similar optimization flag lists for each processor of their own.
Thanks for the link!
|All times are GMT -4. The time now is 19:31.|