[PATCH][ARM][gas] Accept narrow form of tst<condition> rd, rn in Thumb mode
Richard Earnshaw
rearnsha@arm.com
Fri Oct 4 14:59:00 GMT 2013
More information about the Binutils mailing list
Fri Oct 4 14:59:00 GMT 2013
- Previous message (by thread): [PATCH][ARM][gas] Accept narrow form of tst<condition> rd, rn in Thumb mode
- Next message (by thread): [PATCH] Fix microMIPS dmfgc0 and dmtgc0 opcodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/10/13 15:20, Kyrill Tkachov wrote:
> Hi all,
>
> Currently gas fails to assemble:
> .syntax unified
> it gt
> tstgt.n r0, r4
>
> It seems that it's trying to use a 32-bit encoding when it could use a narrow one.
> This patch fixes that. tst doesn't have a "flag setting" variant ("tsts"?) since
> it's already flag setting, therefore in the do_t_mvn_tst function it should be
> treated similarly to cmn.
>
> Tests are added and check-gas passes.
>
> Ok to apply to trunk?
>
> Thanks,
> Kyrill
>
> [gas/]
> 2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/tc-arm.c (do_t_mvn_tst): Use narrow form for tst when
> possible.
>
>
> [gas/testsuite/]
> 2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * gas/arm/thumb2_it.s: Add test for narrow tst.
> * gas/arm/thumb2_it.d: Update expected output.
> * gas/arm/thumb2_it_auto.d: Likewise.
>
>
OK.
R.
- Previous message (by thread): [PATCH][ARM][gas] Accept narrow form of tst<condition> rd, rn in Thumb mode
- Next message (by thread): [PATCH] Fix microMIPS dmfgc0 and dmtgc0 opcodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list