lkml.org 
[lkml]   [2009]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact
    On Fri, Jan 09, 2009 at 09:03:12AM -0500, jim owens wrote:
    > They also know inlining may increase program object size.
    > That inlining will reduce object size on many architectures
    > if the function is small is just a happy side effect to them.

    The problem is that the threshold for that is architecture specific.
    While e.g. x86 has relatively low overhead of prologue/epilogue other
    architectures like s390 have enormous overhead. So handling this in
    the compiler would be optimal, but it would need at least whole-program
    optimization and a compiler aware of the inline assembly to get it
    half-way right.



    \
     
     \ /
      Last update: 2009-01-09 18:17    [W:8.121 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site