This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Committed, MMIX: Fix 64-bit host (opcodes/mmix-opc.c)
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 20 Mar 2005 08:19:08 -0500 (EST)
- Subject: Re: Committed, MMIX: Fix 64-bit host (opcodes/mmix-opc.c)
- References: <BE6244A5.9884%schlie@comcast.net>
On Sat, 19 Mar 2005, Paul Schlie wrote:
> > Hans-Peter Nilsson <hp at bitrange dot com> wrote:
> > ...
> > * mmix-opc.c (O, Z): Force expression as unsigned long.
> > ...
>
> Out of curiosity, what's the general philosophy with respect to
> specifying specific type-sizes, when it's likely critical that
> a type be at-least as large as some critical value?
AFAIK, the general philosphy is that "int" is *at least* 32
bits. That means it's a slightly different issue than the one
at hand.
> (as it's not clear that long long need be any particular size
> other than at least as large as a long, etc. etc.; when might
> int64_t for example be more appropriate in gnu sources
> example?)
I don't remember for "GNU sources" in general; see the GNU
coding standard.
brgds, H-P