aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/sh_dreamcast_cpuinfo9
-rw-r--r--test/data/sh_sh3_cpuinfo4
-rw-r--r--test/data/sh_sh64_cpuinfo13
-rw-r--r--test/test.sh8
4 files changed, 30 insertions, 4 deletions
diff --git a/test/data/sh_dreamcast_cpuinfo b/test/data/sh_dreamcast_cpuinfo
new file mode 100644
index 00000000..84e9dd90
--- /dev/null
+++ b/test/data/sh_dreamcast_cpuinfo
@@ -0,0 +1,9 @@
+machine : Sega Dreamcast
+processor : 0
+cpu family : sh4
+cpu type : SH7750
+cache size : 8K-bytes/16K-bytes
+bogomips : 199.06
+cpu clock : 199.49MHz
+bus clock : 99.74MHz
+module clock : 49.87MHz
diff --git a/test/data/sh_sh3_cpuinfo b/test/data/sh_sh3_cpuinfo
new file mode 100644
index 00000000..a9389bec
--- /dev/null
+++ b/test/data/sh_sh3_cpuinfo
@@ -0,0 +1,4 @@
+cpu family : SH-3
+cache size : 8K-byte
+bogomips : 39.83
+
diff --git a/test/data/sh_sh64_cpuinfo b/test/data/sh_sh64_cpuinfo
new file mode 100644
index 00000000..ba869c45
--- /dev/null
+++ b/test/data/sh_sh64_cpuinfo
@@ -0,0 +1,13 @@
+machine : Hitachi Cayman
+processor : 0
+cpu family : SH-5
+cpu type : SH5-101
+icache size : 32K-bytes
+dcache size : 32K-bytes
+itlb entries : 64
+dtlb entries : 64
+cpu clock : 314.73MHz
+bus clock : 157.36MHz
+module clock : 26.22MHz
+bogomips : 313.75
+
diff --git a/test/test.sh b/test/test.sh
index 89254a34..9462ad63 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -19,7 +19,7 @@ do_test() {
#do_test alpha data/alpha_as_cpuinfo
#do_test parisc data/parisc_hppa_fortex4_cpuinfo
#do_test ia64 data/ia64_x2_cpuinfo
-do_test m68k data/m68k_sun3_cpuinfo
-
-
-
+#do_test m68k data/m68k_sun3_cpuinfo
+#do_test sh data/sh_dreamcast_cpuinfo
+#do_test sh data/sh_sh3_cpuinfo
+do_test sh data/sh_sh64_cpuinfo