aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64r5900-elf/f-mul.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/mips64r5900-elf/f-mul.s')
-rw-r--r--sim/testsuite/mips64r5900-elf/f-mul.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/testsuite/mips64r5900-elf/f-mul.s b/sim/testsuite/mips64r5900-elf/f-mul.s
new file mode 100644
index 0000000..d7131dc
--- /dev/null
+++ b/sim/testsuite/mips64r5900-elf/f-mul.s
@@ -0,0 +1,12 @@
+.include "t-macros.i"
+
+ start
+
+test_mul1:
+ clearfcsr
+ loadfp $f1 2.0
+ loadfp $f2 4.0
+ mul.s $f3, $f2, $f1
+ checkfp 0 $f3 8.0
+
+ exit0