aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-12-10 16:58:51 +0000
committerMatthew Wahab <matthew.wahab@arm.com>2015-12-10 17:00:27 +0000
commit22a5455c6ccaf6157095863f9e6da33a81541acf (patch)
tree094e7d4ffe83b699729c2e30e1c5024b85cefe8c /gas
parentb1236ac35aaad56d76a5670a5a22cc2be124a736 (diff)
downloadgdb-22a5455c6ccaf6157095863f9e6da33a81541acf.zip
gdb-22a5455c6ccaf6157095863f9e6da33a81541acf.tar.gz
gdb-22a5455c6ccaf6157095863f9e6da33a81541acf.tar.bz2
[Aarch64] Support ARMv8.2 AT instructions
ARMv8.2 adds new instructions AT S1E1RP and AT S1E1WP to Aarch64. This patch adds support for the instructions, making them available when -march=armv8.2-a is selected. gas/testsuite/ 2015-12-10 Matthew Wahab <matthew.wahab@arm.com> * gas/aarch64/sysreg-2.d: Update for new tests for AT S1E1RP and AT S1E1WP. * gas/aarch64/sysreg-2.s: Add tests for AT S1E1RP and AT S1E1WP. opcodes/ 2015-12-10 Matthew Wahab <matthew.wahab@arm.com> * aarch64-opc.c (aarch64_sys_regs_at): Add "s1e1rp" and "s1e1wp". (aarch64_sys_ins_reg_supported_p): Add ARMv8.2 system register feature test for "s1e1rp" and "s1e1wp". Change-Id: I09e1044b629ab0a34b03c423e8d4e71ff92daad4
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/aarch64/sysreg-2.d2
-rw-r--r--gas/testsuite/gas/aarch64/sysreg-2.s5
3 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1a2f004..4027a7c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2015-12-10 Matthew Wahab <matthew.wahab@arm.com>
+ * gas/aarch64/sysreg-2.d: Update for new tests for AT S1E1RP and
+ AT S1E1WP.
+ * gas/aarch64/sysreg-2.s: Add tests for AT S1E1RP and AT S1E1WP.
+
+2015-12-10 Matthew Wahab <matthew.wahab@arm.com>
+
* gas/aarch64/sysreg-2.d: Add tests for dc instruction.
* gas/aarch64/sysreg-2.s: Add uses of dc instruction.
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.d b/gas/testsuite/gas/aarch64/sysreg-2.d
index dffe08f..f73412f 100644
--- a/gas/testsuite/gas/aarch64/sysreg-2.d
+++ b/gas/testsuite/gas/aarch64/sysreg-2.d
@@ -30,3 +30,5 @@ Disassembly of section .text:
[0-9a-f]+: d50b7a20 dc cvac, x0
[0-9a-f]+: d50b7b21 dc cvau, x1
[0-9a-f]+: d50b7c22 dc cvap, x2
+ [0-9a-f]+: d5087900 at s1e1rp, x0
+ [0-9a-f]+: d5087921 at s1e1wp, x1
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.s b/gas/testsuite/gas/aarch64/sysreg-2.s
index 62b3a5e..f89d057 100644
--- a/gas/testsuite/gas/aarch64/sysreg-2.s
+++ b/gas/testsuite/gas/aarch64/sysreg-2.s
@@ -36,3 +36,8 @@
dc cvac, x0
dc cvau, x1
dc cvap, x2
+
+ /* AT. */
+
+ at s1e1rp, x0
+ at s1e1wp, x1