This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: x32 psABI draft version 0.2
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Chris Metcalf <cmetcalf at tilera dot com>
- Cc: "H. Peter Anvin" <hpa at zytor dot com>, x32-abi at googlegroups dot com, "H.J. Lu" <hjl dot tools at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 16 Feb 2011 12:39:22 -0800
- Subject: Re: x32 psABI draft version 0.2
- References: <AANLkTindyH6koj0dCn1nxU9Cu3XUtg3XfvTnt_EWD13Q@mail.gmail.com><4D5C2DD2.10608@zytor.com><4D5C34F8.9060506@tilera.com>
On Wed, Feb 16, 2011 at 12:35 PM, Chris Metcalf <cmetcalf@tilera.com> wrote:
> For what it's worth, the Tilera 64-bit architecture (forthcoming) includes
> support for a 32-bit compatibility layer that is similar to x32. ÂIt uses
> 64-bit registers throughout (e.g. for double and long long), but 32-bit
> addresses. ÂThe addresses between 2GB and 4GB are not directly usable as
> 64-bit addresses since we sign-extend all 32-bit values to make the ISA
> more straightforward. ÂWe use the "compat" layer to provide our syscall
> table, since we don't have a traditional compatibility layer in this mode
> (unlike x86_64 and i386).
This sounds more like MIPS' n32 than x32 really.
-- Pinski