Giovanni Bajo wrote:
Hello,

any specific reason why we still don't unroll loops by default at -O3? It
looks like it gives better results on most benchmark, and many people use it
always together with -O3 to say "really optimize, I mean it".

Why O3 rather than O2, I thought O3 was just O2 + implicit inlining
(we often find with Ada that implicit inlining is a bad idea, since
Ada programmers routinely mark inlinable stuff as inlinable, and
so having the compiler second guess this often pessimizes the code).

Reply via email to