[Patch,ARM/Thumb1]Fix 'mov' instruction for Thumb-1 UAL

Ramana Radhakrishnan ramana.radhakrishnan@arm.com
Tue Nov 11 08:44:00 GMT 2014



On 11/11/14 08:40, Terry Guo wrote:
> Hi there,
>
> Attached patch intends to fix below trunk failure caused by recent thumb-1
> UAL patch:
>
> /tmp/cc9EfnXy.s: Assembler messages:
> /tmp/cc9EfnXy.s:69: Error: MOV Rd, Rs with two low registers is not
> permitted on this architecture -- `mov r6,r7'
>
> Now for pre-v6 Thumb-1, the 'movs' will be used rather than the 'mov'.
>
> The multilib for ARM/Thumb1/hard-float all can be built. Tested with
> regression test on armv4t thumb and v6m thumb. No regression. Is it ok to
> trunk?

This is OK.

Ramana

>
> BR,
> Terry
>
> 2014-11-11  Terry Guo  <terry.guo@arm.com>
>
>       * doc/invoke.texi (-masm-syntax-unified): Reword and fix typo.
>       * config/arm/thumb1.md (*thumb_mulsi3): Use movs to move low registers.
>       (*thumb1_movhf): Likewise.
>



More information about the Gcc-patches mailing list