This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Thumb2 conditional execution


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]