aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2020-09-08 14:18:38 +0100
committerAlex Coplan <alex.coplan@arm.com>2020-09-08 14:18:38 +0100
commit03fb3142c71fde91531ca39f33413bdf50a8dfb3 (patch)
tree96ccb52e5a3273eee9c8c14bf8dca0dc805ff32a /gas
parent95830c988a648e55042f4999f1f6a06e0879e533 (diff)
downloadgdb-03fb3142c71fde91531ca39f33413bdf50a8dfb3.zip
gdb-03fb3142c71fde91531ca39f33413bdf50a8dfb3.tar.gz
gdb-03fb3142c71fde91531ca39f33413bdf50a8dfb3.tar.bz2
aarch64: Add support for Armv8-R DFB alias
This adds support for the DFB alias introduced in Armv8-R AArch64. gas/ChangeLog: 2020-09-08 Alex Coplan <alex.coplan@arm.com> * testsuite/gas/aarch64/dfb.d: New test. * testsuite/gas/aarch64/dfb.s: Input. opcodes/ChangeLog: 2020-09-08 Alex Coplan <alex.coplan@arm.com> * aarch64-tbl.h (aarch64_feature_v8_r): New. (ARMV8_R): New. (V8_R_INSN): New. (aarch64_opcode_table): Add dfb. * aarch64-opc-2.c: Regenerate. * aarch64-asm-2.c: Regenerate. * aarch64-dis-2.c: Regenerate.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/aarch64/dfb.d8
-rw-r--r--gas/testsuite/gas/aarch64/dfb.s2
3 files changed, 15 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1c5929d..bf7b963 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-09-08 Alex Coplan <alex.coplan@arm.com>
+ * testsuite/gas/aarch64/dfb.d: New test.
+ * testsuite/gas/aarch64/dfb.s: Input.
+
+2020-09-08 Alex Coplan <alex.coplan@arm.com>
+
* config/tc-aarch64.c (aarch64_archs): Add armv8-r.
* doc/c-aarch64.texi: Document -march=armv8-r.
diff --git a/gas/testsuite/gas/aarch64/dfb.d b/gas/testsuite/gas/aarch64/dfb.d
new file mode 100644
index 0000000..70aead9
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/dfb.d
@@ -0,0 +1,8 @@
+#objdump: -dr -m aarch64:armv8-r
+
+.*: file format .*
+
+Disassembly of section \.text:
+
+0+ <.*>:
+.*: d5033c9f dfb
diff --git a/gas/testsuite/gas/aarch64/dfb.s b/gas/testsuite/gas/aarch64/dfb.s
new file mode 100644
index 0000000..df0ad59
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/dfb.s
@@ -0,0 +1,2 @@
+.arch armv8-r
+dfb