]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/mips/mips32r2-fp32.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / mips / mips32r2-fp32.s
diff --git a/gas/testsuite/gas/mips/mips32r2-fp32.s b/gas/testsuite/gas/mips/mips32r2-fp32.s
new file mode 100644 (file)
index 0000000..22abe20
--- /dev/null
@@ -0,0 +1,13 @@
+# source file to test assembly of mips32r2 FP instructions
+
+       .text
+text_label:
+
+      # FPU (cp1) instructions
+      #
+      # Even registers are supported w/ 32-bit FPU, odd
+      # registers supported only for 64-bit FPU.
+      # Only the 32-bit FPU instructions are tested here.
+     
+       mfhc1   $17, $f0
+       mthc1   $17, $f0