tech-toolchain archive

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

Re: x32 ABI?

On Fri, Jun 24, 2011 at 03:22:20PM -0700, Aaron J. Grier wrote:
> is the x32 ABI for amd64 on NetBSD's radar?  (32-bit pointers,
> 64-integers on amd64) .

It is still ILP32, just running the cpu in 'long mode' to give
access to the additional registers and 64bit arithmetic.

But they've left 64bit items 4 byte aligned - which is a bit fubar.
I suppose they are trying to run apps with a standard i386 kernel
rather than an amd64 one.

I'd have thought an amd64 kernel would be easier to modify.


David Laight:

Home | Main Index | Thread Index | Old Index