xscale-elf-gcc

Richard Earnshaw rearnsha@arm.com
Wed Feb 6 04:11:00 GMT 2002


> 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>.





More information about the Gcc mailing list