From 0381d09ca970dcd0f1a61c3e5785f155a9ce58a0 Mon Sep 17 00:00:00 2001
From: Roberto Hexsel <roberto@inf.ufpr.br>
Date: Sat, 14 Nov 2015 13:25:34 -0200
Subject: [PATCH] added FPU mult test

---
 cMIPS/tests/FPU_m.expected | 5 +++++
 cMIPS/tests/doTests.sh     | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 cMIPS/tests/FPU_m.expected

diff --git a/cMIPS/tests/FPU_m.expected b/cMIPS/tests/FPU_m.expected
new file mode 100644
index 0000000..160f194
--- /dev/null
+++ b/cMIPS/tests/FPU_m.expected
@@ -0,0 +1,5 @@
+nor
+den
+zer
+inf
+NaN
diff --git a/cMIPS/tests/doTests.sh b/cMIPS/tests/doTests.sh
index 36ab14c..5cd06ff 100755
--- a/cMIPS/tests/doTests.sh
+++ b/cMIPS/tests/doTests.sh
@@ -107,6 +107,7 @@ fi
 c_small="divmul fat fib sieve ccitt16 gcd matrix negcnt reduz rand"
 c_types="xram sort-byte sort-half sort-int memcpy"
 c_sorts="bubble insertion merge quick selection shell"
+c_FPU="FPU_m"
 
 ## the tests below MUST be run with FAKE CACHES
 c_timing="extCounter extCounterInt"
@@ -122,7 +123,7 @@ stoptime=100ms
 if [ $withCache = true ] ; then
   SIMULATE="$c_small $c_types $c_sorts"
 else
-  SIMULATE="$c_small $c_types $c_sorts $c_timing $c_uart"
+  SIMULATE="$c_small $c_types $c_sorts $c_FPU $c_timing $c_uart"
   echo -e "abcdef\n012345\n" >serial.inp
   # make sure all memory latencies are ZERO
   # pack=$srcVHDL/packageWires.vhd
-- 
GitLab