PATCH [2/10] arm: add 'pacbti' instruction for Armv8.1-M pacbti extension
authorAndrea Corallo <andrea.corallo@arm.com>
Tue, 18 May 2021 09:28:17 +0000 (11:28 +0200)
committerAndrea Corallo <andrea.corallo@arm.com>
Mon, 26 Jul 2021 12:18:24 +0000 (14:18 +0200)
commitf1e1d7f305e9c6f76297863ac454b09ceee5e4be
tree25bf12a3bb98ce36bbe8ece0e90b8c83e801e93a
parent3751264cdd187e355af867198f5b70b36846a1a8
PATCH [2/10] arm: add 'pacbti' instruction for Armv8.1-M pacbti extension

gas/
2021-06-11  Andrea Corallo  <andrea.corallo@arm.com>

* config/tc-arm.c
(enum operand_parse_code): Add OP_SP and OP_R12.
(parse_operands): Add switch cases for OP_SP and OP_R12.
(T16_32_TAB): Add '_pacbti'.
(do_t_pacbti): New function.
(insns): Add 'pacbti'.
* testsuite/gas/arm/armv8_1-m-pacbti-bad.d: New file.
* testsuite/gas/arm/armv8_1-m-pacbti-bad.l: Likewise.
* testsuite/gas/arm/armv8_1-m-pacbti-bad.s: Likewise.
* testsuite/gas/arm/armv8_1-m-pacbti.d: Add 'pacbti' to testcase.
* 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 'pacbti' instruction.
gas/config/tc-arm.c
gas/testsuite/gas/arm/armv8_1-m-pacbti-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-pacbti-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-pacbti-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/armv8_1-m-pacbti.d
gas/testsuite/gas/arm/armv8_1-m-pacbti.s
opcodes/arm-dis.c