Re: 2GB userspace limitation in ABI N32
From: Maciej W. Rozycki <hidden>
Date: 2012-10-10 17:10:11
From: Maciej W. Rozycki <hidden>
Date: 2012-10-10 17:10:11
On Wed, 10 Oct 2012, David Daney wrote:
The only disadvantage of doing this is that the code will be slightly larger/slower as it takes three instructions to load a zero extended 32-bit pointer verses two for n32-2GB.
And of course such code will only run on 64-bit processors that not only support 64-bit data, but 64-bit addressing as well. That is implement the CP0.Status.UX bit rather than CP0.Status.PX only -- the latters are still compatible with the true n32 ABI. See also CP0.Config.AT. Maciej