summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s28
1 files changed, 28 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s b/binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s
new file mode 100644
index 00000000..32875944
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/aarch64/sysreg.s
@@ -0,0 +1,28 @@
+
+ # Test case for system registers
+ .text
+
+ msr pmovsclr_el0, x7
+ mrs x0, pmovsclr_el0
+
+ msr pmovsset_el0, x7
+ mrs x0, pmovsset_el0
+
+ mrs x0, id_dfr0_el1
+ mrs x0, id_pfr0_el1
+ mrs x0, id_pfr1_el1
+ mrs x0, id_afr0_el1
+ mrs x0, id_mmfr0_el1
+ mrs x0, id_mmfr1_el1
+ mrs x0, id_mmfr2_el1
+ mrs x0, id_mmfr3_el1
+ mrs x0, id_isar0_el1
+ mrs x0, id_isar1_el1
+ mrs x0, id_isar2_el1
+ mrs x0, id_isar3_el1
+ mrs x0, id_isar4_el1
+ mrs x0, id_isar5_el1
+
+ mrs x0, s3_0_c12_c12_0
+ mrs x0, s3_0_c4_c6_0
+ msr s3_0_c4_c6_0, x0