lkml.org 
[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [BK+PATCH] remove __constant_memcpy

    On 17 Apr 2003, Arjan van de Ven wrote:
    >
    > it can do that ANYWAY for all kinds of things.
    > We really should ask the gcc folks to add a
    > -fdontyoudareusefloatingpoint flag (well different name probably)

    Well, _most_ architectures actually have that flag already. It's not
    called -fdontyoudareusefloatingpoint on any of them, though ;)

    It's most commonly called "-mno-fpu", but sh calls it "-mno-implicit-fp",
    and alpha calls it "-mno-fp-regs".

    On x86, gcc doesn't have such an option, although "-mno-sse" and
    "-mno-sse2" probably come closest (and we should probably use them, but
    since older gcc's don't know about it and it hasn't been an issue yet we
    haven't).

    HOWEVER, that doesn't fix the memcpy() issue. The fact is, the kernel
    _can_ and does use SSE instructions - it's just that it has to do magic
    crap before it does so.

    Linus

    -
    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-03-22 13:34    [W:0.023 / U:123.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site