[binutils, ARM, 7/16] New BFX and BFLX instruction for Armv8.1-M Mainline
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 15 Apr 2019 10:29:14 +0000 (11:29 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 15 Apr 2019 11:30:33 +0000 (12:30 +0100)
commitf1c7f42126274d48f6b0a929e4e15a32193997c6
treee7d52e61a7c5e91e8decb2a32454e44ff3d90d51
parent4389b29a5af431eeac517272b66560e12df3c430
[binutils, ARM, 7/16] New BFX and BFLX instruction for Armv8.1-M Mainline

This patch is part of a series of patches to add support for Armv8.1-M Mainline instructions to binutils.

This patch adds the BFX and BFLX instructions.

ChangeLog entries are as follows :

*** gas/ChangeLog ***

2019-04-15  Sudakshina Das  <sudi.das@arm.com>

* config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
(do_t_v8_1_branch): New switch cases for bfx and bflx.
(insns): New instruction for bfx and bflx.
* testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
* testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
* testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
* testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
* testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New

*** opcodes/ChangeLog ***

2019-04-15  Sudakshina Das  <sudi.das@arm.com>

* arm-dis.c (print_insn_thumb32): Add '%<bitfield>S' to print an
Arm register with r13 and r15 unpredictable.
(thumb32_opcodes): New instructions for bfx and bflx.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bf-exchange.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-bf-exchange.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arm-dis.c