Robert Dewar wrote:

Yes, of course! unrolling loops is often an overall loss

Note also that excessive inlining often is a loss due to
increase in icache pressure. In Ada it is the style to
carefully mark inlinable routines with pragma Inline, and
we often find in Ada that use of -O3, which activates
automatic inlining, going beyond what the programmer has
asked for, is often an overall loss.



Reply via email to