summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/nios2/sub.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/nios2/sub.d')
-rw-r--r--gas/testsuite/gas/nios2/sub.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/nios2/sub.d b/gas/testsuite/gas/nios2/sub.d
new file mode 100644
index 0000000000..69b02856fe
--- /dev/null
+++ b/gas/testsuite/gas/nios2/sub.d
@@ -0,0 +1,10 @@
+#objdump: -dr --prefix-addresses
+#name: NIOS2 sub
+
+# Test the add instruction
+
+.*: +file format elf32-littlenios2
+
+Disassembly of section .text:
+0+0000 <[^>]*> sub r4,r4,r4
+