bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent checkins


From: Joachim Nilsson
Subject: Re: Recent checkins
Date: Wed, 8 May 2002 22:04:53 +0200
User-agent: Mutt/1.2.5i

On Wed, May 08, 2002 at 09:25:08AM -0700, Jeff Bailey wrote:
> On Wed, May 08, 2002 at 09:22:39AM -0700, Thomas Bushnell, BSG wrote:
> > And we know more specifically that:
> > short int < int = long int.
> Is this true even on the PPC and Alpha ports?  I thought 64 bit
> systems tended to still have 32 bit ints.

I *think* the story goes somethin like this...

Ints are mostly mapped onto what the data bus width can handle.
Shorts was initially half the size of an int and longs, well,
longs should be at least 32 (if I remember correctly).

Then one day architechtures moved from 8/16 to 32 and 64 bits and
things got messed up.

        short   int     long    long long
IA32    16      32      32      64
IA64    16      32      64      128
PPC     16      32      32      64
Sparc   16      32      32      64
Alpha   16      32      64      128


Regards
 /Joachim

-- 
Joachim Nilsson   <joachim.nilsson@vmlinux.org>
+46-(0)21-123348  <http://www.vmlinux.org/joachim/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]