This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: A new MIPS64 ABI
- From: Andrew Haley <aph at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 09 May 2011 15:32:18 +0100
- Subject: Re: RFC: A new MIPS64 ABI
- References: <4D5990A4.2050308__41923.1521235362$1297715435$gmane$org@caviumnetworks.com> <87hbbxqihm.fsf@firetop.home> <20110509142828.GA7196@linux-mips.org>
On 05/09/2011 03:28 PM, Ralf Baechle wrote:
> On Mon, Feb 21, 2011 at 07:45:41PM +0000, Richard Sandiford wrote:
>
>> David Daney <ddaney@caviumnetworks.com> writes:
>>> Background:
>>>
>>> Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
>>> user virtual memory space. This is due the way MIPS32 memory space is
>>> segmented. Only the range from 0..2^31-1 is available. Pointer
>>> values are always sign extended.
>>>
>>> Because there are not already enough MIPS ABIs, I present the ...
>>>
>>> Proposal: A new ABI to support 4GB of address space with 32-bit
>>> pointers.
>>
>> FWIW, I'd be happy to see this go into GCC.
>
> So am I for the kernel primarily because it's not really a new ABI but
> an enhancement of the existing N32 ABI.
Would it work with no kernel changes?
Andrew.