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:11:47AM -0800, Linus Torvalds wrote:
    > IIRC, the numbers mean different things for different versions of gcc, and
    > I think using the parameters was very strongly discouraged by gcc
    > developers. IOW, they were meant for gcc developers internal tuning
    > efforts, not really for external people. Which means that using them would

    When I asked last time that was not what I heard. Apparently at least
    some --params are considered ready for user consumption these days.

    > put us _more_ at the mercy of random compiler versions rather than less.

    Yes it would basically be a list in the Makefile keyed on compiler
    version giving different options and someone would need to do
    the work to do that for each new compiler version.

    That would be some work, but it might be less work than going
    all over 9.7MLOCs and changing inlines around manually.
    Also the advantage is that that you wouldn't need to teach
    the rules to hundreds of new driver programmers.

    Anyways I'm not very strongly wedded to this idea, but I think
    it's an alternative that should be at least considered before
    doing anything else drastic.

    -Andi

    --
    ak@linux.intel.com


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