Subject: Re: amd64 stable for production ?
To: Charles L. Nelson <charles@embsyspro.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-users
Date: 12/11/2006 18:15:42
On Mon, Dec 11, 2006 at 08:34:17AM -0800, Charles L. Nelson wrote:
> I think that on some systems it is possible to tell the compiler to use
> 32-bit addresses and pointers while ints are 32-bits and longs are 64-bits.
> This is the default ABI on many 64-bit machines unless it is overridden.
> 
> Also, there are only a few 64-bit architectures that can make use of true
> 64-bit addressing.  While the compiler may allow 64-scalar addressing in the
> source code, somewhere in the build process, the address is usually munged
> down to the size of the MMU quantum which can be 36-bit, 40-bit or 56-bit
> depending on architecture.

So going further off-topic - what is the size of a "word"? I think it is
the same as sizeof(void *) so I would get 64, but should I get 36/40/56 ?

Patrick