summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/nds32/alu-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/nds32/alu-2.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/nds32/alu-2.d41
1 files changed, 41 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/nds32/alu-2.d b/binutils-2.25/gas/testsuite/gas/nds32/alu-2.d
new file mode 100644
index 00000000..11c2eb16
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/nds32/alu-2.d
@@ -0,0 +1,41 @@
+#objdump: -d --prefix-addresses
+#name: nds32 alu_2 instructions
+#as:
+
+# Test alu_2 instructions
+
+.*: file format .*
+
+Disassembly of section .text:
+0+0000 <[^>]*> madd64 \$d0, \$r0, \$r1
+0+0004 <[^>]*> madds64 \$d0, \$r0, \$r1
+0+0008 <[^>]*> mfusr \$r0, \$pc
+0+000c <[^>]*> msub64 \$d0, \$r0, \$r1
+0+0010 <[^>]*> msubs64 \$d0, \$r0, \$r1
+0+0014 <[^>]*> mtusr \$r0, \$pc
+0+0018 <[^>]*> mul \$r0, \$r1, \$r2
+0+001c <[^>]*> mult32 \$d0, \$r1, \$r2
+0+0020 <[^>]*> mult64 \$d0, \$r1, \$r2
+0+0024 <[^>]*> mults64 \$d0, \$r1, \$r2
+0+0028 <[^>]*> abs \$r0, \$r1
+0+002c <[^>]*> ave \$r0, \$r1, \$r2
+0+0030 <[^>]*> bclr \$r0, \$r1, #1
+0+0034 <[^>]*> bset \$r0, \$r1, #1
+0+0038 <[^>]*> btgl \$r0, \$r1, #1
+0+003c <[^>]*> btst \$r0, \$r1, #1
+0+0040 <[^>]*> clip \$r0, \$r1, #1
+0+0044 <[^>]*> clips \$r0, \$r1, #1
+0+0048 <[^>]*> clo \$r0, \$r1
+0+004c <[^>]*> clz \$r0, \$r1
+0+0050 <[^>]*> max \$r0, \$r1, \$r2
+0+0054 <[^>]*> min \$r0, \$r1, \$r2
+0+0058 <[^>]*> bse \$r0, \$r1, \$r2
+0+005c <[^>]*> bsp \$r0, \$r1, \$r2
+0+0060 <[^>]*> ffb \$r0, \$r1, \$r2
+0+0064 <[^>]*> ffbi \$r0, \$r1, #0x8
+0+0068 <[^>]*> ffmism \$r0, \$r1, \$r2
+0+006c <[^>]*> flmism \$r0, \$r1, \$r2
+0+0070 <[^>]*> maddr32 \$r0, \$r0, \$r1
+0+0074 <[^>]*> msubr32 \$r0, \$r1, \$r2
+0+0078 <[^>]*> mulr64 \$r0, \$r1, \$r2
+0+007c <[^>]*> mulsr64 \$r0, \$r1, \$r2