aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2021-05-19 09:51:40 +0200
committerAndrea Corallo <andrea.corallo@arm.com>2021-07-26 14:18:24 +0200
commitce537a7db788ab002aa50750d456999bc45ff485 (patch)
treea49873c80324dc2ff7392b21c94efdea0a1e5acc /opcodes
parente43ca2cbaea6dcffa5e1c8ca052da36642336857 (diff)
downloadgdb-ce537a7db788ab002aa50750d456999bc45ff485.zip
gdb-ce537a7db788ab002aa50750d456999bc45ff485.tar.gz
gdb-ce537a7db788ab002aa50750d456999bc45ff485.tar.bz2
PATCH [4/10] arm: add 'pac' instruction for Armv8.1-M pacbti extension
gas/ 2021-06-11 Andrea Corallo <andrea.corallo@arm.com> * config/tc-arm.c (T16_32_TAB): Add '_pac'. (insns): Add 'pac' insn. * testsuite/gas/arm/armv8_1-m-pacbti-bad.l: Add pac tests. * testsuite/gas/arm/armv8_1-m-pacbti-bad.s: Likewise. * testsuite/gas/arm/armv8_1-m-pacbti.d: Likewise. * 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 'pac'.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/arm-dis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 8eeb303..930fbbf 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -4659,6 +4659,8 @@ static const struct opcode32 thumb32_opcodes[] =
{ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_1M_MAIN),
0xf3af800f, 0xffffffff, "bti"},
{ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_1M_MAIN),
+ 0xf3af801d, 0xffffffff, "pac\tr12, lr, sp"},
+ {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_1M_MAIN),
0xf3af800d, 0xffffffff, "pacbti\tr12, lr, sp"},
/* Armv8.1-M Mainline and Armv8.1-M Mainline Security Extensions