Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Andrew Pinski
On 12/5/07, Jan Beulich <[EMAIL PROTECTED]> wrote: > >>> "Andrew Pinski" <[EMAIL PROTECTED]> 25.11.07 19:45 >>> > >On 11/25/07, Luca <[EMAIL PROTECTED]> wrote: > >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size > >> to allow 64-bit pointers in 32-bit mode and viceversa > > >

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Jan Beulich
>>> "Andrew Pinski" <[EMAIL PROTECTED]> 25.11.07 19:45 >>> >On 11/25/07, Luca <[EMAIL PROTECTED]> wrote: >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size >> to allow 64-bit pointers in 32-bit mode and viceversa > >This is already there, try using __attribute__((mode(DI) )).

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Andrew Pinski
On 12/5/07, Jan Beulich [EMAIL PROTECTED] wrote: Andrew Pinski [EMAIL PROTECTED] 25.11.07 19:45 On 11/25/07, Luca [EMAIL PROTECTED] wrote: 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size to allow 64-bit pointers in 32-bit mode and viceversa This is already there,

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Jan Beulich
Andrew Pinski [EMAIL PROTECTED] 25.11.07 19:45 On 11/25/07, Luca [EMAIL PROTECTED] wrote: 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size to allow 64-bit pointers in 32-bit mode and viceversa This is already there, try using __attribute__((mode(DI) )). Hmm, unless this

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-11-25 Thread Andrew Pinski
On 11/25/07, Luca <[EMAIL PROTECTED]> wrote: > 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size > to allow 64-bit pointers in 32-bit mode and viceversa This is already there, try using __attribute__((mode(DI) )). -- Pinski - To unsubscribe from this list: send the line

[RFC] [PATCH] 32-bit pointers in x86-64

2007-11-25 Thread Luca
This proof of concept patch modifies GCC to have 32-bit pointers and longs on x86-64. This allows to create an "x86-32" architecture that takes advantage of the higher number of registers and support for 64-bit computation in x86-64 long mode while avoiding the disadvantage of increased memory

[RFC] [PATCH] 32-bit pointers in x86-64

2007-11-25 Thread Luca
This proof of concept patch modifies GCC to have 32-bit pointers and longs on x86-64. This allows to create an x86-32 architecture that takes advantage of the higher number of registers and support for 64-bit computation in x86-64 long mode while avoiding the disadvantage of increased memory

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-11-25 Thread Andrew Pinski
On 11/25/07, Luca [EMAIL PROTECTED] wrote: 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size to allow 64-bit pointers in 32-bit mode and viceversa This is already there, try using __attribute__((mode(DI) )). -- Pinski - To unsubscribe from this list: send the line