summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s b/binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s
new file mode 100644
index 00000000..313d768d
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/mips/module-set-mfpxx.s
@@ -0,0 +1,16 @@
+.module mips32r2
+.module fp=xx
+.module doublefloat
+.module hardfloat
+.module oddspreg
+
+add.s $f1,$f1,$f1
+.set push
+.set fp=32
+add.s $f1,$f1,$f1
+.set pop
+
+.set push
+.set fp=64
+add.d $f1,$f1,$f1
+.set pop