lkml.org 
[lkml]   [1998]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: A patch for linux 2.1.127
    Date
    From
    And lo, David S. Miller saith unto me:
    >
    > Date: Sun, 8 Nov 1998 23:21:39 -0800 (PST)
    > From: Linus Torvalds <torvalds@transmeta.com>
    >
    > How about something simple like:
    >
    > if (SMALL_REGISTER_SET)
    > never_inline_functions_unless_the_user_asked_for_it();
    >
    > which means that even with -O6 you would not inline functions
    > unless they were marked inline.
    >
    > I think I'd rather tell people "don't compile the kernel with -O6"
    > than turn off -finline-functions for -O6 by default on any machine.
    >
    Why not just recommend "-O6 -fno-inline-functions" like we did with the
    strength reduction bug? (Insert the right switch to disable the
    aggressive inlining of -O6 but not disable explicitly requested
    inlining here...and in the compiler code, if it's not there already.)

    Maybe even add a "-OK" or "-OL" optimization level for code which has
    already been hand-optimized in these ways? Of course, we'd also want
    to just use -O6 for code that has not been so heavily optimized vis a
    vis inlining on Intel.


    Keith


    --
    "The avalanche has already started; |Linux: http://www.linuxhq.com |"Zooty,
    it is too late for the pebbles to |KDE: http://www.kde.org | zoot
    vote." Kosh, "Believers", Babylon 5 |Keith: kwrohrer@enteract.com | zoot!"
    www.midwinter.com/lurk/lurker.html |http://www.enteract.com/~kwrohrer | --Rebo

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:45    [W:0.024 / U:0.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site