All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@fluxnic.net>
To: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Subject: Re: [PATCH 1/3] mmc: initialize struct mmc_command at declaration time
Date: Fri, 15 Apr 2011 18:37:40 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1104151836290.24613@xanadu.home> (raw)
In-Reply-To: <m3zknrs822.fsf@pullcord.laptop.org>

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

      reply	other threads:[~2011-04-15 22:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14  3:57 [PATCH 1/3] mmc: initialize struct mmc_command at declaration time Chris Ball
2011-04-14  4:07 ` [PATCHv2 " Chris Ball
2011-04-14 23:37 ` [PATCH " Nicolas Pitre
2011-04-15  3:11   ` Chris Ball
2011-04-15 18:06     ` Chris Ball
2011-04-15 22:37       ` Nicolas Pitre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.1104151836290.24613@xanadu.home \
    --to=nico@fluxnic.net \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.