[lkml]   [2002]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [TRIVIAL] strlen("literal string") -> (sizeof("literal string")-1)

On 29 Aug 2002, Andi Kleen wrote:

> It does a better job for near all the string.h stuff. x86-64 just uses
> the builtins. Only exception is memcpy, where it likes to call out of line
> memcpy when it is not absolutely sure about all the alignments
> (especally lots of casting causes that)

memcpy() on x86 includes uses of mmx_memcpy(). Not likely to be done by gcc...

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:28    [W:2.613 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site