[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [BK+PATCH] remove __constant_memcpy
    Followup to:  <>
    By author: Alan Cox <>
    In newsgroup:
    > You are assuming the compiler is smart about stuff - it doesnt know
    > SSE/MMX for page copies etc. For small copies it should alays win, but
    > isn't it best if so to use __builtin_memcpy without our existing
    > macros not just trust the compiler ?

    For large or variable-sized copies __builtin_memcpy() just generates a
    call to memcpy(). What's more, if you don't specify
    -fno-builtin-memcpy memcpy() defaults to __builtin_memcpy()
    automatically unless you override it (which Linux does with its


    <> at work, <> in private!
    "Unix gives you enough rope to shoot yourself in the foot."
    Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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