]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/mips/mips32r2-cp2.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / mips / mips32r2-cp2.s
diff --git a/gas/testsuite/gas/mips/mips32r2-cp2.s b/gas/testsuite/gas/mips/mips32r2-cp2.s
new file mode 100644 (file)
index 0000000..27cfdaa
--- /dev/null
@@ -0,0 +1,12 @@
+# source file to test assembly of mips32r2 cop2 instructions
+
+        .set noreorder
+       .set noat
+
+       .text
+text_label:
+      # cp2 instructions
+
+       mfhc2   $17, 0x5555
+       mthc2   $17, 0x5555
+