This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [x86-64 psABI] RFC: Extend x86-64 psABI to support x32
- From: "H. Peter Anvin" <hpa at zytor dot com>
- To: x32-abi at googlegroups dot com
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, discuss at x86-64 dot org, GCC Development <gcc at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>, GNU C Library <libc-alpha at sourceware dot org>, GDB <gdb at sourceware dot org>
- Date: Tue, 26 Jun 2012 12:53:01 -0700
- Subject: Re: [x86-64 psABI] RFC: Extend x86-64 psABI to support x32
- References: <CAMe9rOqE84CeCEZHxahccP2obgb50zdJWuY0z3UzWnDYn=g_4A@mail.gmail.com> <ccd4a6ab-f279-477f-b48b-94b8f4afd37d@googlegroups.com> <CAMe9rOqhnmcUhjO8SH6Ggz-VmyGFyuDrMHJU27HjKV+UM1RASA@mail.gmail.com>
On 06/26/2012 12:47 PM, H.J. Lu wrote:
>>
>> May I ask why the decision was made to use ILP32 instead of L64P32? The
>> latter would seem to avoid lots of porting problems in particular. And if
>> porting difficulties are the major complained about x32, is it really too
>> late to switch? Thanks - mdb
>
> x32 is designed to replace ia32 where long is 32-bit, not x86-64.
>
It's worth noting that there are *no* Linux platforms that are not ILP32
or LP64, so adding a third memory model is likely to cause even more
problems...
-hpa