Subject: Re: Possible bug in arm32 strongarm optimisations.
To: David Brownlee <email@example.com>
From: Richard Earnshaw <firstname.lastname@example.org>
Date: 10/31/2000 13:44:03
> On Mon, 30 Oct 2000, Richard Earnshaw wrote:
> > This is for an Acorn based machine, right?
> > If so, then the problem you are seeing is that the Acorn buses, don't
> > support the ldrh instruction (they were designed before that instruction
> > was added to the cpu artchitecture).
> > The solution is to use -mcpu=arm7m -mtune=strongarm.
> Just to confirm - that is more appropriate than mcpu=armv4?
Yes; -mcpu=armv4 will produce code that can run incorrectly on Acorn
machines since the bus cannot handle half-word operations. (This includes
machines fitted with Kinetic cards -- since even these need to access the
system bus at times).