Thumb inline assembly

Ian Lance Taylor iant@google.com
Tue Jun 11 00:31:00 GMT 2013


> From: Kalai Rajah N <kalairajah@gmail.com>
> Date: Mon, Jun 10, 2013 at 5:19 PM
> Subject: Re: Thumb inline assembly
> To: Ian Lance Taylor <iant@google.com>
>
>
> If the clobber-list is removed, the errors are on r1,r2, r3 and the
> generated assembly code is ...

When you clobber r0 through r3 they can't be used as input registers.

I still haven't seen a complete standalone test case, but perhaps GCC
is in ARM mode but you are generating Thumb assembly code.

Ian



More information about the Gcc-help mailing list