[Arm] Add CSDB instruction
authorJames Greenhalgh <james.greenhalgh@arm.com>
Tue, 9 Jan 2018 14:15:00 +0000 (14:15 +0000)
committerRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Tue, 9 Jan 2018 14:21:59 +0000 (14:21 +0000)
commit91d8b670661883fc0472fd05cf0e54d0e357c187
treeb5301faacc52bb5d5c67e2e99f31ba20052e5898
parentbe2e7d95414eb78f29312f30e62d4cabd55f9fda
[Arm] Add CSDB instruction

CSDB is a new instruction which Arm has defined. As it shares the
encoding space with NOP instructions, it is available from Armv3 in
Arm mode, and Armv6T2 in Thumb mode.

OK? If so, please commit on my behalf as I don't have commit rights
over here.

Thanks, James

---
opcodes/

2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>

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

gas/

2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>

* config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
in Arm execution state, and Armv6T2 and above in Thumb execution
state.
* testsuite/gas/arm/csdb.s: New.
* testsuite/gas/arm/csdb.d: New.
* testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
* testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/csdb.d [new file with mode: 0644]
gas/testsuite/gas/arm/csdb.s [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_it_bad.l
gas/testsuite/gas/arm/thumb2_it_bad.s
opcodes/ChangeLog
opcodes/arm-dis.c