[patch] Thumb2 conditional execution
Fri Aug 5 09:10:00 GMT 2005
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.
> 2005-08-04 Paul Brook <firstname.lastname@example.org>
> * 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/arm/thumb32.s: Use correct conditional suffixes inside IT
> * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test.
More information about the Binutils