Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] How to make gas accept Thumb2 insns on armv6-m ?
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Mon, 8 Jun 2009 15:58:52 +0100
> In particular, just adding ".syntax unified" leads to other errors
> toto.s:3: Error: cannot honor width suffix -- `mul r3,r0,r3'
> toto.s:4: Error: cannot honor width suffix -- `mul ip,r2,r1'
Both these errors are correct. With a couple of exceptions, ARMv6-M only
implements narrow Thumb-1 instructions. The instructions above are implicitly
requiring wide Thumb-2 encodings.
Paul