]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/mips/mips32r2-cp2.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / mips / mips32r2-cp2.d
diff --git a/gas/testsuite/gas/mips/mips32r2-cp2.d b/gas/testsuite/gas/mips/mips32r2-cp2.d
new file mode 100644 (file)
index 0000000..f7f5f83
--- /dev/null
@@ -0,0 +1,12 @@
+#objdump: -dr --prefix-addresses --show-raw-insn -M reg-names=numeric
+#name: MIPS MIPS32r2 cop2 instructions
+#as: -32
+
+# Check MIPS32 Release 2 (mips32r2) cop2 instruction assembly
+
+.*: +file format .*mips.*
+
+Disassembly of section .text:
+0+0000 <[^>]*> 48715555        mfhc2   \$17,0x5555
+0+0004 <[^>]*> 48f15555        mthc2   \$17,0x5555
+#pass