Can't use SImode as Pmode for x32

H.J. Lu hjl.tools@gmail.com
Thu Mar 17 22:28:00 GMT 2011


On Wed, Mar 16, 2011 at 4:28 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Mar 16, 2011 at 03:38:25PM -0700, H.J. Lu wrote:
>
> IMNSHO you really should reconsider using Pmode != ptr_mode for your port.

Hi Jakub,

I created hjl/x32/Pmode/master branch at

http://git.kernel.org/?p=devel/gcc/hjl/x86.git;a=summary

It will require very extensive changes to x86 backend since stack pointer
and frame pointer are really in DImode for x32 as x32 process runs in
64bit mode. If you can make it to work, please let me know.

Thanks.


-- 
H.J.



More information about the Gcc-patches mailing list