From 9cb099818be4edc0cb2d28ca1e93bb27e8b36c18 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 9 Jul 2017 22:52:41 -0500 Subject: sh (superh): fixes, add tests Signed-off-by: Burt P --- test/data/sh_dreamcast_cpuinfo | 9 +++++++++ test/data/sh_sh3_cpuinfo | 4 ++++ test/data/sh_sh64_cpuinfo | 13 +++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 test/data/sh_dreamcast_cpuinfo create mode 100644 test/data/sh_sh3_cpuinfo create mode 100644 test/data/sh_sh64_cpuinfo (limited to 'test/data') 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 + -- cgit v1.2.3