This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: disable indexing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]