summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/nios2/selftest.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/nios2/selftest.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/nios2/selftest.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/nios2/selftest.d b/binutils-2.25/gas/testsuite/gas/nios2/selftest.d
new file mode 100644
index 00000000..84b33a46
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/nios2/selftest.d
@@ -0,0 +1,18 @@
+#as: -r
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: NIOS2 selftest
+
+# Test the assembler self-test mode on some instructions that
+# manipulate control registers. The purpose of this test is to make
+# sure the assembler doesn't choke, rather than to match the encodings
+# of the particular instructions in the test here.
+
+.*: +file format elf32-littlenios2
+
+
+Disassembly of section .text:
+0+0000 <[^>]*> 1001703a wrctl status,r2
+0+0004 <[^>]*> 1001703a wrctl status,r2
+0+0008 <[^>]*> 1001707a wrctl estatus,r2
+0+000c <[^>]*> 1001707a wrctl estatus,r2
+#...