This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Thumb2 conditional execution
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 05 Aug 2005 10:09:55 +0100
- Subject: Re: [patch] Thumb2 conditional execution
- References: <200508041608.03698.paul@codesourcery.com>
On Thu, 2005-08-04 at 16:08, Paul Brook wrote:
> The attached patch implements assembly of thumb2 conditional instructions.
>
> It verifies that instructions following an IT instruction have the correct
> conditional suffixes, and other instructions to not have conditional
> suffixes. It also ensures 16-bit instructions are used correctly. These do
> not set the condition codes when used inside an IT block.
>
> Tested on arm-none-eabi.
> Ok?
>
> Paul
>
> 2005-08-04 Paul Brook <paul@codesourcery.com>
>
> gas/
> * config/tc-arm.c (current_it_mask, current_cc): New variables.
> (do_t_add_sub): Use correct encodings inside IT block.
> (do_t_arit3c): Ditto.
> (do_t_it): Simplify logic. Set current_it_mask and current_cc.
> (md_assemble): Verify conditional suffixes agains IT blocks.
> gas/testsuite/
> * gas/arm/thumb32.s: Use correct conditional suffixes inside IT
> blocks.
> * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test.
OK
R.