This is the mail archive of the gcc@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: xscale-elf-gcc


> Hi,
> When the -march=armv4t option is used with xscale-elf-gcc, does it target
> the 5-stage pipeline present in strongARM processors or the 7-stage
> xscale processor? Does xscale-elf-gcc optimise for the xscale
> architecture? And when I do xscale-elf-gcc --version I get
> 2.9-xscale-001130, what do the numbers in the end indicate?
> Thanks,
> -Arvind
> 

The -march flag does not affect the tuning of the code.  So in this case 
you will get code that is armv4 compliant (so it will run on any armv4 or 
later processor), but tuned for optimum performance on an XScale processor.

To alter the tuning of the code use -mtune=<cpu>.




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