[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 16:06:57 +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'
>
> I'm not entirely sure about this error in the first case, since that
> ought to be valid as a 16-bit mul, shouldn't it?

The 16-bit form is muls.

Paul