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: ldreqd instruction in xscale


On Thu, 2002-01-24 at 22:12, Arvind Krishnaswamy wrote:
> I used the -march=armv4t with both the arm-elf-gcc compiler and xscale-elf-gcc
> compiler. But xscale-elf-gcc generates different code. The ldreqd instruction
> is used code generated by xscale-elf-gcc bt is absent in code generated by
> arm-elf-gcc. Doesn't -march=armv4t specify the instruction to be used? 

LDRD is an ARMv5E ("El Segundo") instruction.  So yes, I would expect
-march=armv4t to suppress generation of those.  Do you have a testcase
that shows the problem?

p.



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