diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2021-05-19 15:04:24 +0200 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2021-07-26 14:18:24 +0200 |
commit | e07352fa4fb419b44979da21c635e4d79f7773c7 (patch) | |
tree | abeb70f5b5a646a200f783e0137798e86b3e4d00 /gas/testsuite | |
parent | 5a0c7a819f1d40654f7e39c8ff73951723c3e1e8 (diff) | |
download | gdb-e07352fa4fb419b44979da21c635e4d79f7773c7.zip gdb-e07352fa4fb419b44979da21c635e4d79f7773c7.tar.gz gdb-e07352fa4fb419b44979da21c635e4d79f7773c7.tar.bz2 |
PATCH [7/10] arm: add 'bxaut' 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 '_bxaut'.
(do_t_pacbti_nonop): New function.
(insns): Define 'bxaut' insn.
* testsuite/gas/arm/armv8_1-m-pacbti.d: Add 'bxaut' test.
* 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 'bxaut'.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-pacbti.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-pacbti.s | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gas/testsuite/gas/arm/armv8_1-m-pacbti.d b/gas/testsuite/gas/arm/armv8_1-m-pacbti.d index 9df123a..411454a 100644 --- a/gas/testsuite/gas/arm/armv8_1-m-pacbti.d +++ b/gas/testsuite/gas/arm/armv8_1-m-pacbti.d @@ -1,6 +1,6 @@ #name: Valid Armv8.1-M pointer authentication and branch target identification extention #source: armv8_1-m-pacbti.s -#as: -march=armv8.1-m.main +#as: -march=armv8.1-m.main+pacbti #objdump: -dr --prefix-addresses --show-raw-insn .*: +file format .*arm.* @@ -10,4 +10,5 @@ Disassembly of section .text: 0[0-9a-f]+ <[^>]+> f3af 800d pacbti r12, lr, sp 0[0-9a-f]+ <[^>]+> f3af 802d aut r12, lr, sp 0[0-9a-f]+ <[^>]+> f3af 801d pac r12, lr, sp +0[0-9a-f]+ <[^>]+> fb54 3f15 bxaut r3, r4, r5 #... diff --git a/gas/testsuite/gas/arm/armv8_1-m-pacbti.s b/gas/testsuite/gas/arm/armv8_1-m-pacbti.s index 38000c3..22da2ce 100644 --- a/gas/testsuite/gas/arm/armv8_1-m-pacbti.s +++ b/gas/testsuite/gas/arm/armv8_1-m-pacbti.s @@ -6,3 +6,4 @@ pacbti r12, lr, sp aut r12, lr, sp pac r12, lr, sp + bxaut r3, r4, r5 |