]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/mips/mips-macro-ill-sfp.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / mips / mips-macro-ill-sfp.s
diff --git a/gas/testsuite/gas/mips/mips-macro-ill-sfp.s b/gas/testsuite/gas/mips/mips-macro-ill-sfp.s
new file mode 100644 (file)
index 0000000..85e7815
--- /dev/null
@@ -0,0 +1,19 @@
+# Macros that are disabled without double-precision fp insns.
+       
+       .text
+double_float:
+       ldc1    $f2, d
+       ldc1    $22, d
+       l.d     $f2, d
+       li.d    $f2, 1.2 
+       li.d    $22, 1.2
+
+       sdc1    $f2, d
+       sdc1    $22, d
+       s.d     $f2, d
+
+       trunc.w.d $f4,$f6,$4
+
+d:
+       .word 0
+       .word 0