[Arm, 2/3] Add instruction SB for AArch32
authorSudakshina Das <sudi.das@arm.com>
Fri, 5 Oct 2018 09:49:53 +0000 (10:49 +0100)
committerRichard Earnshaw <Richard.Earnshaw@arm.com>
Fri, 5 Oct 2018 10:31:19 +0000 (11:31 +0100)
commit7fadb25d6faf2665305016ceb4aeaeeb86015569
tree77cdab957104d20d892ee3b8c5e14c837f9b9fa9
parent23f233a595dc7d8b9a6ababe7c4527f743c0cec1
[Arm, 2/3] Add instruction SB for AArch32

This patch is part of the patch series to add support for ARMv8.5-A
extensions.

(https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools)

This patch adds the instruction SB. This instruction is
retrospectively made optional for all versions of the architecture
from ARMv8.0 to ARMv8.4 and is mandatory from ARMv8.5. Hence adding a
new "+sb" for older archtectures.

*** include/ChangeLog ***

2018-10-05  Sudakshina Das  <sudi.das@arm.com>

* opcode/arm.h (ARM_EXT2_SB): New.
(ARM_ARCH_V8_5A): Add ARM_EXT2_SB by default.

*** opcodes/ChangeLog ***

2018-10-05  Sudakshina Das  <sudi.das@arm.com>

* arm-dis.c (arm_opcodes): Add sb.
(thumb32_opcodes): Likewise.

*** gas/ChangeLog ***

2018-10-05  Sudakshina Das  <sudi.das@arm.com>

* config/tc-arm.c (arm_ext_sb): New.
(insns): Add new sb instruction.
(arm_extensions): Add "sb".
* doc/c-arm.texi: Document the above.
* testsuite/gas/arm/sb-bad.d: New test.
* testsuite/gas/arm/sb-bad.l: New test.
* testsuite/gas/arm/sb-thumb1.d: New test.
* testsuite/gas/arm/sb-thumb2.d: New test.
* testsuite/gas/arm/sb.s: New test.
* testsuite/gas/arm/sb1.d: New test.
* testsuite/gas/arm/sb2.d: New test.
14 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/sb-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/sb-thumb1.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb-thumb2.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb.s [new file with mode: 0644]
gas/testsuite/gas/arm/sb1.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb2.d [new file with mode: 0644]
include/ChangeLog
include/opcode/arm.h
opcodes/ChangeLog
opcodes/arm-dis.c