This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: disable indexing
- From: Ian Lance Taylor <iant at google dot com>
- To: jp at invia dot fr
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 16 Jun 2009 06:30:31 -0700
- Subject: Re: disable indexing
- References: <1245144353.5916.26.camel@GeorgeInvia.invia>
Jorge PEREZ <jorge.perez@invia.fr> writes:
> I found that the option -mdisable-indexing prevents the compiler from
> using indexing address modes but such option only exists for some
> specific architectures. the question is how can i get the same effect of
> that option for SPARC (since such option does not exist for sparc-gcc)?
You can't. Sorry. -mdisable-indexing is only supported for the PA
processor, where an indexed memory address is one which uses two
registers, one of which is multiplied by a constant and added to the
other one to form the address. Does the SPARC even support that type of
memory address? Why do you want to disable it?
Ian