This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: ldrb vs ldrh in gcc-3.4.4 (ARM)


Lennert Buytenhek wrote:

On Wed, Aug 17, 2005 at 04:00:23PM +0200, Steven Scholz wrote:


Permissible names are: armv2, armv2a, armv3, armv3m, armv4, armv4t,
                      armv5, armv5t, armv5te.

Which one would be appropriate for an Atmel AT91RM9200?


First google hit on "AT91RM9200":
	http://www.atmel.com/dyn/products/product_card.asp?part_id=2983

That page mentions that it's an ARM920T core.  First google hit on
"ARM920T":
	http://www.arm.com/products/CPUs/ARM920T.html

That page mentions 'ARMv4T'.

Thanks for googling for me! ;-)


So I use either -march=armv4 _OR_ -mcpu=arm920t. Right?

(Using both brought me a warning about conflicting).

--
Steven


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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