This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bluesky idea: __attribute__ (netorder)
- To: Tim Hollebeek <tim at wagner dot princeton dot edu>, Jamie Lokier <egcs at tantalophile dot demon dot co dot uk>
- Subject: Re: bluesky idea: __attribute__ (netorder)
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sun, 6 Sep 1998 17:59:22 -0700
- Cc: carlo at runaway dot xs4all dot nl, weejock at ferret dot lmh dot ox dot ac dot uk, egcs at cygnus dot com
- References: <19980905193929.J3471@tantalophile.demon.co.uk> <199809061502.LAA15348@wagner.Princeton.EDU>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Sun, Sep 06, 1998 at 11:02:13AM -0400, Tim Hollebeek wrote:
> There are hundreds of ways to do this that do not include modifying
> the compiler and writing nonstandard C/C++. For example:
Yes, and I'd agree if there weren't quite a few machines that can do
byte swapping with special instructions, either in parallel with a
load, or just in a register.
r~