aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-04-19 15:00:07 +0100
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-04-19 15:01:56 +0100
commit02202574ec8d0d7e2a90c41342cc22cc2173da28 (patch)
tree98549abccadb95e3cbe61395c6335ae03b9dfe5b /gas
parentcd6608e49d884f01536b5948ed3a64241dbb4a1f (diff)
downloadgdb-02202574ec8d0d7e2a90c41342cc22cc2173da28.zip
gdb-02202574ec8d0d7e2a90c41342cc22cc2173da28.tar.gz
gdb-02202574ec8d0d7e2a90c41342cc22cc2173da28.tar.bz2
aarch64: New instructions for maintenance of GPT entries cached in a TLB
This patch adds support to four new system registers (RPAOS, RPALOS, PAALLOS, PAALL) in conjunction with TLBI instruction. This change is part of RME (Realm Management Extension). gas/ChangeLog: 2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> * NEWS: Update news. * testsuite/gas/aarch64/rme.d: Update test. * testsuite/gas/aarch64/rme.s: Update test. opcodes/ChangeLog: 2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> * aarch64-opc.c: Add new registers (RPAOS, RPALOS, PAALLOS, PAALL) support for TLBI instruction.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/NEWS2
-rw-r--r--gas/testsuite/gas/aarch64/rme.d4
-rw-r--r--gas/testsuite/gas/aarch64/rme.s6
4 files changed, 18 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index da2f91f..a1bfcde 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+ * NEWS: Update news.
+ * testsuite/gas/aarch64/rme.d: Update test.
+ * testsuite/gas/aarch64/rme.s: Update test.
+
+2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
* testsuite/gas/aarch64/rme.d: Update test.
* testsuite/gas/aarch64/rme.s: Update test.
diff --git a/gas/NEWS b/gas/NEWS
index 417f8b1..6944bdf 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -2,6 +2,8 @@
* arm-symbianelf support removed.
+* Add support for Realm Management Extension (RME) for AArch64.
+
Changes in 2.36:
* Add support for Intel AVX VNNI instructions.
diff --git a/gas/testsuite/gas/aarch64/rme.d b/gas/testsuite/gas/aarch64/rme.d
index 89bedb8..a714b78 100644
--- a/gas/testsuite/gas/aarch64/rme.d
+++ b/gas/testsuite/gas/aarch64/rme.d
@@ -14,3 +14,7 @@ Disassembly of section \.text:
10: d51e2180 msr gptbr_el3, x0
14: d50e7e20 dc cipapa, x0
18: d50e7ea0 dc cigdpapa, x0
+ 1c: d50e8460 tlbi rpaos, x0
+ 20: d50e84e0 tlbi rpalos, x0
+ 24: d50e819f tlbi paallos
+ 28: d50e879f tlbi paall
diff --git a/gas/testsuite/gas/aarch64/rme.s b/gas/testsuite/gas/aarch64/rme.s
index b9a915d..21d9bd2 100644
--- a/gas/testsuite/gas/aarch64/rme.s
+++ b/gas/testsuite/gas/aarch64/rme.s
@@ -12,3 +12,9 @@ msr gptbr_el3, x0
/* RME data cache maintenance operations. */
dc cipapa, x0
dc cigdpapa, x0
+
+/* RME instructions for maintenance of GPT entries cached in a TLB. */
+tlbi rpaos, x0
+tlbi rpalos, x0
+tlbi paallos
+tlbi paall