disable indexing

Ian Lance Taylor iant@google.com
Tue Jun 16 13:30:00 GMT 2009


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



More information about the Gcc-help mailing list