Re: Supporting multiple pointer sizes in GCC

2011-04-21 Thread Michael Meissner
On Thu, Mar 31, 2011 at 01:32:24PM +0100, Paulo J. Matos wrote: > On 30/03/11 08:57, Claudiu Zissulescu wrote: > >Hi, > > > >I would try using the named address space for your issue (see > >TARGET_ADDR_SPACE_POINTER_MODE). Please check the SPU target for an > >implementation example. > > > > Hummm

Re: Supporting multiple pointer sizes in GCC

2011-03-31 Thread Paulo J. Matos
On 30/03/11 08:57, Claudiu Zissulescu wrote: Hi, I would try using the named address space for your issue (see TARGET_ADDR_SPACE_POINTER_MODE). Please check the SPU target for an implementation example. Hummm, I haven't noticed this hook before. Could this be used to implement cases where fu

Re: Supporting multiple pointer sizes in GCC

2011-03-30 Thread Claudiu Zissulescu
n GCC? > > Regards, > Jayant > > > -Original Message- > From: Paul Koning [mailto:paul_kon...@dell.com] > Sent: Friday, March 25, 2011 11:20 PM > To: DJ Delorie > Cc: Jayant R. Sonar; gcc@gcc.gnu.org > Subject: Re: Supporting multiple pointer sizes in GCC > > &g

RE: Supporting multiple pointer sizes in GCC

2011-03-28 Thread Jayant R. Sonar
nal Message- From: Paul Koning [mailto:paul_kon...@dell.com] Sent: Friday, March 25, 2011 11:20 PM To: DJ Delorie Cc: Jayant R. Sonar; gcc@gcc.gnu.org Subject: Re: Supporting multiple pointer sizes in GCC On Mar 25, 2011, at 1:37 PM, DJ Delorie wrote: > > "Jayant R. Sonar"

Re: Supporting multiple pointer sizes in GCC

2011-03-25 Thread DJ Delorie
> ? MIPS has two pointer sizes, but a given compilation (gcc > invocation) uses only one of them, it comes from the chosen ABI. You can still override it with __attribute__((mode(SI))) or __attribute__((mode(DI))) for some configurations.

Re: Supporting multiple pointer sizes in GCC

2011-03-25 Thread Paul Koning
On Mar 25, 2011, at 1:37 PM, DJ Delorie wrote: > > "Jayant R. Sonar" writes: >> Is it possible to support multiple pointer sizes (e.g. 16bit, 32bit) >> which can co-exist in single compilation unit? >> Whether it is supported in GCC now? >> Is there any other architecture which has this feature

Re: Supporting multiple pointer sizes in GCC

2011-03-25 Thread DJ Delorie
"Jayant R. Sonar" writes: > Is it possible to support multiple pointer sizes (e.g. 16bit, 32bit) > which can co-exist in single compilation unit? > Whether it is supported in GCC now? > Is there any other architecture which has this feature already > implemented? Yes, there are three that I kno