aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2021-05-14 16:19:39 +0200
committerAndrea Corallo <andrea.corallo@arm.com>2021-07-26 14:18:24 +0200
commit3751264cdd187e355af867198f5b70b36846a1a8 (patch)
treeec2e3e3ac0a4863a66a4e290394ae72263f09e4a /opcodes
parent730afdd1399f12b6683b70b7cba0ef67651e4e05 (diff)
downloadgdb-3751264cdd187e355af867198f5b70b36846a1a8.zip
gdb-3751264cdd187e355af867198f5b70b36846a1a8.tar.gz
gdb-3751264cdd187e355af867198f5b70b36846a1a8.tar.bz2
PATCH [1/10] arm: add 'bti' instruction for Armv8.1-M pacbti extension
gas/ 2021-06-11 Andrea Corallo <andrea.corallo@arm.com> * config/tc-arm.c (insns): Add 'bti' insn. * testsuite/gas/arm/armv8_1-m-pacbti.d: New file. * testsuite/gas/arm/armv8_1-m-pacbti.s: Likewise. opcodes/ 2021-06-11 Andrea Corallo <andrea.corallo@arm.com> * arm-dis.c (thumb32_opcodes): Add bti instruction.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/arm-dis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 92cd098..1e09699 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -4652,6 +4652,11 @@ static const struct opcode16 thumb_opcodes[] =
makes heavy use of special-case bit patterns. */
static const struct opcode32 thumb32_opcodes[] =
{
+ /* Arm v8.1-M Mainline Pointer Authentication and Branch Target
+ Identification Extension. */
+ {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_1M_MAIN),
+ 0xf3af800f, 0xffffffff, "bti"},
+
/* Armv8.1-M Mainline and Armv8.1-M Mainline Security Extensions
instructions. */
{ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_1M_MAIN),