lkml.org 
[lkml]   [2005]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: rfc/rft: use r10 as current on x86-64
    On Wed, Nov 23, 2005 at 11:48:03PM +0100, Pavel Machek wrote:
    > 34KB smaller is nice, but is not it also 30% slower? Plus some inline
    > assembly *will* have %r10 hardcoded, no? I'd be afraid around crypto
    > code, for example.

    It's not slower in any of the tests I've run. The crypto code needs a
    tweak (the next version I send out will have that fix), and I'm still
    working on getting thread_info to be relative to current, which should
    save a bit more code. The assembly I've looked at tends to be better
    as gcc can access various fields by directly offseting current instead
    of the inline asm load then store that is otherwise needed.

    -ben
    --
    "Time is what keeps everything from happening all at once." -- John Wheeler
    Don't Email: <dont@kvack.org>.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-11-24 00:00    [W:0.021 / U:0.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site