A useful flag that I use in release mode is -funsafe-loop-optimizations, 
which assumes that loop counters cannot overflow and other such things. I 
don't remember the exact numbers but I do remember that using this flag 
made a small, but measurable, performance improvement.

On Thursday, September 15, 2016 at 8:04:58 AM UTC-4, Denis Davydov wrote:
> Dear all,
> From the matrix-free tutorials 37 and 48, I see that the recommended flags 
> for VectorizedArrays<double> with GCC are
> -DCMAKE_CXX_FLAGS="-march=native"
> How about using -O3, -ffast-math, -funroll-loops ? Any other recommended 
> flags for GCC?
> Regards,
> Denis.

The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to