ARM string optimizations broken for ARMv3

Richard Earnshaw
Mon Jun 28 22:07:00 GMT 2010

On Fri, 2010-06-18 at 16:06 -0300, Alexandre Pereira Nunes wrote:
> Hi,
> In newlib 1.18.0 there were introduced some assembler optimizations
> regarding string operations in arm.
> These fail to assemble at least when targeting armv3 (implied by
> -mcpu=arm7, which is implied by my multilib setup).
> As far as I could see, the offending instructions are load/store half
> words, that aren't supported (at least accordingly to gnu AS) on this
> architecture.
> Is there a patch already available on cvs or something?

Have you really got an ARM7 (as apposed to an ARM7TDMI)?  I didn't think
anyone was still using something that old these days; at least, not for
new development.


More information about the Newlib mailing list