This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: xscale-elf-gcc
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Arvind Krishnaswamy <arvind at CS dot Arizona dot EDU>
- Cc: gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Wed, 06 Feb 2002 11:31:50 +0000
- Subject: Re: xscale-elf-gcc
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> 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>.