ldreqd instruction in arm version 4?
Richard Earnshaw
rearnsha@arm.com
Fri Jan 25 05:01:00 GMT 2002
> 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.
More information about the Gcc
mailing list