ldrb vs ldrh in gcc-3.4.4 (ARM)
Steven Scholz
steven.scholz@imc-berlin.de
Wed Aug 17 14:08:00 GMT 2005
Hi,
> And I don't understand why he is using two ldrb instructions!
> Both compilers were called with "-g -O0" Using -O3 creates smaller code
> but still uses ldrb.
Passing "-march=armv4" seems to help. Passing "-mcpu=arm920t" instead helps too.
I used Dan's crosstool to build the toolchain. How can I built a tool chain that
makes "good code" (TM) for an arm920t _by default_?
--
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
More information about the crossgcc
mailing list