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