summaryrefslogtreecommitdiff
path: root/sim/mips/m16.dc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mips/m16.dc')
-rw-r--r--sim/mips/m16.dc25
1 files changed, 25 insertions, 0 deletions
diff --git a/sim/mips/m16.dc b/sim/mips/m16.dc
new file mode 100644
index 00000000000..292587c39e3
--- /dev/null
+++ b/sim/mips/m16.dc
@@ -0,0 +1,25 @@
+# most instructions
+# ------ options ------ : Fst : Lst : ff : fl : fe : word : --- fmt --- : model ...
+# { : mask : value : word }
+
+# Top level - create a very big switch statement.
+
+ padded-switch,combine : 15 : 11 : : : : : :
+
+ switch,combine : 10 : 8 : : : : : :
+
+ switch,combine : 4 : 0 : : : : : :
+
+ switch,combine : 7 : 5 : : : : : :
+
+
+# Extended instructions, decode the same way
+
+ padded-switch,combine : 15 : 11 : : : : 1 : :
+
+ switch,combine : 10 : 8 : : : : 1 : :
+
+ switch,combine : 4 : 0 : : : : 1 : :
+
+ switch,combine : 7 : 5 : : : : 1 : :
+