summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/nds32/br-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/nds32/br-1.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/nds32/br-1.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/nds32/br-1.d b/binutils-2.25/gas/testsuite/gas/nds32/br-1.d
new file mode 100644
index 00000000..b4842d8e
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/nds32/br-1.d
@@ -0,0 +1,14 @@
+#objdump: -dr --prefix-addresses
+#name: nds32 branch 1 instructions
+#as:
+
+# Test br-1 instructions
+
+.*: file format .*
+
+Disassembly of section .text:
+0+0000 <[^>]*> beq \$r0, \$r1, 00000000 <foo>
+ 0: R_NDS32_15_PCREL_RELA .text
+ 0: R_NDS32_RELAX_ENTRY .text
+0+0004 <[^>]*> bne \$r0, \$r1, 00000004 <foo\+0x4>
+ 4: R_NDS32_15_PCREL_RELA .text