Re: [TRIVIAL] strlen("literal string") -> (sizeof("literal string")-1)

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Aug 29 2002 - 12:51:00 EST


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 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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:27 EST