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: [RFA/ARM 04/21] Warn on deprecated IT blocks.


On 23/08/12 15:56, Matthew Gretton-Dann wrote:
> 
> ARMv8 deprecates various forms of IT blocks.  This patch adds warnings
> for these cases.
> 
> The IT block forms deprecated are:
>  * Those with more than one instruction in the IT block
>  * Those with a 32-bit instruction in the IT block
>  * Various 16-bit instructions (mostly involving PC).
> 
> This patch does not change the handling of automatic IT block generation.
> This is to be done in a later patch.
> 
> gas/ChangeLog:
> 2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
> 
> 	* config/tc-arm.c (do_t_it): Fully initialise now_it.
> 	(new_automatic_it_block): Likewise.
> 	(handle_it_block): Record whether current instruction is
> 	conditionally executed.
> 	* config/tc-arm.c (depr_insn_mask): New structure.
> 	(depr_it_insns): New variable.
> 	(it_fsm_post_encode): Warn on deprecated uses.
> 	* config/tc-arm.h (current_it): Add new fields.
> 
> gas/testsuite/ChangeLog:
> 2012-08-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
> 
> 	* gas/arm/armv8-a-it-bad.d: New testcase.
> 	* gas/arm/armv8-a-it-bad.l: Likewise.
> 	* gas/arm/armv8-a-it-bad.s: Likewise.
> 	* gas/arm/ldr-t-bad.s: Update testcase.
> 	* gas/arm/ldr-t.d: Likewise.
> 	* gas/arm/ldr-t.s: Likewise.
> 	* gas/arm/neon-cond-bad-inc.s: Likewise.
> 	* gas/arm/sp-pc-validations-bad-t: Likewise.
> 	* gas/arm/vfp-fma-inc.s: Likewise.
> 	* gas/arm/vfp-neon-syntax-inc.s: Likewise.
> 
> 

OK.

R.


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