This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ldreqd instruction in arm version 4?
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Arvind Krishnaswamy <arvind at CS dot Arizona dot EDU>
- Cc: Alan Lehotsky <apl at alum dot mit dot edu>, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Fri, 25 Jan 2002 11:06:37 +0000
- Subject: Re: ldreqd instruction in arm version 4?
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> The ARM Architecture Reference Manual lists the ldrd/strd instructions as
> part of the dsp enhanced instruction set
> available in arm architecture versions 5 and above. Hence an explicit
> switch of -march=armv4t shouldn't generate these instructions. Is there some way
> by which (other than -march) that I can use to generate arm version 4T
> instructions?
Two ways.
1) Configure the compiler with --with-cpu=arm7tdmi (which is an armv4T
processor).
2) Add -mcpu=arm7tdmi to the compilation options (similar to
-march=armv4t).
R.