All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Coding style: bit fields
Date: Tue, 08 Mar 2005 16:47:08 +0100	[thread overview]
Message-ID: <s5hpsya16o3.wl@alsa2.suse.de> (raw)
In-Reply-To: <20050226195918.0a87bc8f.pochini@shiny.it>

At Sat, 26 Feb 2005 19:59:18 +0100,
Giuliano Pochini wrote:
> 
> On Tue, 22 Feb 2005 22:04:08 +0100
> Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Sat, 19 Feb 2005 18:37:26 +0100,
> > Giuliano Pochini wrote:
> > > 
> > > The echoaudio driver has many flags in chip_t stored as bit fields. It
> > > doesn't save any space because accessing a bitfield requires more
> > > instructions than accessing a byte. Eg. ppc needs one instruction to write a
> > > char and three instructions to write a bitfield (load, modify, store, 12
> > > bytes...). I'm thinking about replacing all af them with chars. Is it ok ?
> > 
> > Sure, go ahead!
> 
> Fine.
> 
> 
> Signed-off-by: Giuliano Pochini <pochini@shiny.it>

Thanks, now it's on CVS.


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

      reply	other threads:[~2005-03-08 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-19 17:37 Coding style: bit fields Giuliano Pochini
2005-02-22 21:04 ` Takashi Iwai
2005-02-26 18:59   ` Giuliano Pochini
2005-03-08 15:47     ` Takashi Iwai [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=s5hpsya16o3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@shiny.it \
    /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.