[RFA/ARM 04/21] Warn on deprecated IT blocks.
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Thu Aug 23 14:57:00 GMT 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Warn-on-deprecated-IT-blocks.txt
Type: text/x-patch
Size: 11033 bytes
Desc: 0004-Warn-on-deprecated-IT-blocks.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120823/0ed63812/attachment.bin>
More information about the Binutils
mailing list