ldrb vs ldrh in gcc-3.4.4 (ARM)

Richard Earnshaw rearnsha@gcc.gnu.org
Wed Aug 17 13:46:00 GMT 2005


On Wed, 2005-08-17 at 14:42, Philip Blundell wrote:
> On Wed, 2005-08-17 at 15:28 +0200, Steven Scholz wrote:
> > Hi there,
> > 
> > I noticed that gcc-3.4.4 for ARM is using byte wise loading instructions 
> > although word wise would be much better. Does anyone know why? gcc-3.3.3 is 
> > doing it as I would expect.
> 
> Check your -march= setting.
> 
> p.

Or it might be a different 'default' CPU during configuration.

R.

------
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