This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA/ARM 04/21] Warn on deprecated IT blocks.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: binutils at sourceware dot org
- Date: Thu, 23 Aug 2012 17:30:28 +0100
- Subject: Re: [RFA/ARM 04/21] Warn on deprecated IT blocks.
- References: <cover.1345733341.git.matthew.gretton-dann@arm.com> <20120823145631.GG4624@e103070-lin.arm.com>
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.