From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] pcnet32 driver change, please test
Date: Sat, 3 Mar 2007 01:01:55 +0000 [thread overview]
Message-ID: <200703030101.56126.paul@codesourcery.com> (raw)
In-Reply-To: <20070302.175333.1622572844.imp@bsdimp.com>
> : I find this curious... C99 (6.7.2.1) says "the allocation order of
> : bit-fields within a unit (high-order to low-order or low-order to
> : high-order) is implementation defined". I can't see any requirement
> : for this, so is it just convention that bitfields on big endian systems
> : start from the most significant bit, and those on little endian systems
> : start from the least significant bit? (My thinking is that endianness
> : usually refers to byte ordering and not so much bit ordering.)
>
> This is a convention that goes back a very long ways. It was this way
> in the mid 1980's, and has remained true through today. I've
> personally observed this to be the case on many different MIPS
> compilers, ARM compilers and SPARC compilers over the years.
I'm fairly sure I've seen targets that use other bitfield orderings, though I
can't remember offhand what they were.
Paul
next prev parent reply other threads:[~2007-03-03 1:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-02 20:09 [Qemu-devel] [PATCH] pcnet32 driver change, please test Thiemo Seufer
2007-03-02 20:29 ` Thiemo Seufer
2007-03-03 0:38 ` Fabrice Bellard
2007-03-03 21:44 ` Thiemo Seufer
2007-03-02 23:14 ` Stuart Brady
2007-03-03 0:53 ` M. Warner Losh
2007-03-03 1:01 ` Paul Brook [this message]
2007-03-03 2:30 ` M. Warner Losh
2007-03-03 10:25 ` Andreas Schwab
2007-03-03 13:24 ` M. Warner Losh
2007-03-03 14:46 ` Andreas Schwab
2007-03-03 15:47 ` M. Warner Losh
2007-03-03 17:23 ` Andreas Schwab
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=200703030101.56126.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.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.