public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Guenther <richard.guenther@gmail.com>
To: Sam Lauber <sam124@operamail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Packing booleans?
Date: Wed, 04 May 2005 12:31:00 -0000	[thread overview]
Message-ID: <84fc9c00050504052525c0aafe@mail.gmail.com> (raw)
In-Reply-To: <20050504062627.3691C416118@ws5-2.us4.outblaze.com>

On 5/4/05, Sam Lauber <sam124@operamail.com> wrote:
> Would it be possible to have a -fpack-bools option that packs booleans into
> the smallest form possible (8 booleans -> 1 8-bit reg, etc.) into a register
> (or memory, as the case may be)?

Why don't you use bitfields then?

Richard.

  parent reply	other threads:[~2005-05-04 12:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04  7:51 Sam Lauber
2005-05-04 10:55 ` Nathan Sidwell
2005-05-04 12:25   ` Mattias Karlsson
2005-05-04 12:57     ` Nathan Sidwell
2005-05-04 12:22 ` Nix
2005-05-04 12:31 ` Richard Guenther [this message]
2005-05-05  1:58 Sam Lauber
2005-05-05  2:35 Sam Lauber

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=84fc9c00050504052525c0aafe@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=sam124@operamail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).