On Fri, 15 Apr 2011, Chris Ball wrote:

> Hi,
> 
> On Thu, Apr 14 2011, Chris Ball wrote:
> > Here's a sample disassembly of one function on ARM with gcc-4.6.0, and
> > diff -y.  Explicit memset (which calls __memzero) on the left, and {0}
> > initializer (which calls memset) on the right:
> 
> (I checked on x86_64 too, and the code's identical -- it's inlined into
> a "rep stos %eax,%es:(%rdi)" either way.)

Glad to know that gcc is not as dumb as it used to be.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to